summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-13 16:11:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-13 16:11:31 +0000
commit984c9d86cbc957b232e436e873fc47fcde5b57cc (patch)
treed705ff3b3eb8b4eaa8d6a41b06283f9c04872cf4
parentdfc1470d2d69541c010131018272ed6d19bd35d6 (diff)
downloadbcm5719-llvm-984c9d86cbc957b232e436e873fc47fcde5b57cc.tar.gz
bcm5719-llvm-984c9d86cbc957b232e436e873fc47fcde5b57cc.zip
Add a clang side test for pr18235 too.
llvm-svn: 197242
-rw-r--r--clang/test/CodeGen/pr18235.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/pr18235.c b/clang/test/CodeGen/pr18235.c
new file mode 100644
index 00000000000..d3f12ee5633
--- /dev/null
+++ b/clang/test/CodeGen/pr18235.c
@@ -0,0 +1,3 @@
+// RUN: not %clang_cc1 -triple le32-unknown-nacl %s -S -o - 2>&1 | FileCheck %s
+
+// CHECK: error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
OpenPOWER on IntegriCloud