summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/c-unicode.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-11-21 00:56:41 +0000
committerMatthias Braun <matze@braunis.de>2015-11-21 00:56:41 +0000
commit5c3fccc313b5cf64efeecd39aa064c8cafa24235 (patch)
tree4c185f88f4b4c8495c78d5c4bca65c2121934f1f /clang/test/CodeGen/c-unicode.c
parent5bc88be11ee1e838ee99028687b823a917c9ad2f (diff)
downloadbcm5719-llvm-5c3fccc313b5cf64efeecd39aa064c8cafa24235.tar.gz
bcm5719-llvm-5c3fccc313b5cf64efeecd39aa064c8cafa24235.zip
Fix testcase when building on darwin
Explicitely specify a target to avoid "_" prefixes on the names. llvm-svn: 253741
Diffstat (limited to 'clang/test/CodeGen/c-unicode.c')
-rw-r--r--clang/test/CodeGen/c-unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/c-unicode.c b/clang/test/CodeGen/c-unicode.c
index e9aba558c62..431b1f97588 100644
--- a/clang/test/CodeGen/c-unicode.c
+++ b/clang/test/CodeGen/c-unicode.c
@@ -1,5 +1,5 @@
-// RUN: %clang -S %s -o - | FileCheck %s -check-prefix=ALLOWED
-// RUN: not %clang -std=c89 -S %s -o - 2>&1 | FileCheck %s -check-prefix=DENIED
+// RUN: %clang --target=x86_64--linux-gnu -S %s -o - | FileCheck %s -check-prefix=ALLOWED
+// RUN: not %clang --target=x86_64--linux-gnu -std=c89 -S %s -o - 2>&1 | FileCheck %s -check-prefix=DENIED
int \uaccess = 0;
// ALLOWED: "곎ss":
// ALLOWED-NOT: "\uaccess":
OpenPOWER on IntegriCloud