summaryrefslogtreecommitdiffstats
path: root/test/Driver/emit-llvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/emit-llvm.c')
-rw-r--r--test/Driver/emit-llvm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Driver/emit-llvm.c b/test/Driver/emit-llvm.c
new file mode 100644
index 0000000..a4aabe7
--- /dev/null
+++ b/test/Driver/emit-llvm.c
@@ -0,0 +1,3 @@
+// RUN: not clang -ccc-host-triple i386-pc-linux-gnu -emit-llvm -o %t %s 2> %t.log &&
+// RUN: grep 'unable to pass LLVM bit-code files to linker' %t.log
+
OpenPOWER on IntegriCloud