summaryrefslogtreecommitdiffstats
path: root/test/Driver/output-file-is-dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/output-file-is-dir.c')
-rw-r--r--test/Driver/output-file-is-dir.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Driver/output-file-is-dir.c b/test/Driver/output-file-is-dir.c
index c1fec56..042ae3d 100644
--- a/test/Driver/output-file-is-dir.c
+++ b/test/Driver/output-file-is-dir.c
@@ -1,7 +1,6 @@
// RUN: rm -rf %t.dir
-// RUN: mkdir -p %t.dir/a.out
-// RUN: cd %t.dir && not %clang %s
-// RUN: test -d %t.dir/a.out
-// REQUIRES: shell
+// RUN: mkdir -p %t.dir
+// RUN: not %clang %s -c -emit-llvm -o %t.dir
+// RUN: test -d %t.dir
int main() { return 0; }
OpenPOWER on IntegriCloud