]> granicus.if.org Git - clang/commitdiff
Add a clang side test for pr18235 too.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 Dec 2013 16:11:31 +0000 (16:11 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 Dec 2013 16:11:31 +0000 (16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197242 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/pr18235.c [new file with mode: 0644]

diff --git a/test/CodeGen/pr18235.c b/test/CodeGen/pr18235.c
new file mode 100644 (file)
index 0000000..d3f12ee
--- /dev/null
@@ -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.'