aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/pr18235.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/pr18235.c')
-rw-r--r--test/CodeGen/pr18235.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/pr18235.c b/test/CodeGen/pr18235.c
new file mode 100644
index 000000000000..d3f12ee56331
--- /dev/null
+++ b/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.'