summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/c-unicode.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-11-21 02:28:42 +0000
committerMatthias Braun <matze@braunis.de>2015-11-21 02:28:42 +0000
commit5961fef32efb1f3c9e30a3c813795a3889d4dac3 (patch)
tree154c06d4ea049766493d59fba07e1a8f1a6b15f2 /clang/test/CodeGen/c-unicode.c
parent07557fc2f10be72c0ee62dc2ef783f2f42f3a882 (diff)
downloadbcm5719-llvm-5961fef32efb1f3c9e30a3c813795a3889d4dac3.tar.gz
bcm5719-llvm-5961fef32efb1f3c9e30a3c813795a3889d4dac3.zip
Let's try to fix this test again with a fixed target triple
llvm-svn: 253760
Diffstat (limited to 'clang/test/CodeGen/c-unicode.c')
-rw-r--r--clang/test/CodeGen/c-unicode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/test/CodeGen/c-unicode.c b/clang/test/CodeGen/c-unicode.c
index c5244984d0c..13d4bbfb71e 100644
--- a/clang/test/CodeGen/c-unicode.c
+++ b/clang/test/CodeGen/c-unicode.c
@@ -1,7 +1,8 @@
-// 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
+// REQUIRES: x86-registered-target
+// RUN: %clang --target=x86_64--linug-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: "곎ss":
// ALLOWED-NOT: "\uaccess":
// DENIED: warning: universal character names are only valid in C99 or C++; treating as '\' followed by identifier [-Wunicode]
// DENIED: error: expected identifier or '('
OpenPOWER on IntegriCloud