diff options
author | Matthias Braun <matze@braunis.de> | 2015-11-21 02:13:29 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-11-21 02:13:29 +0000 |
commit | 84055ecb7dabc7172c395b902106b328d4f08ae1 (patch) | |
tree | f043635b29147771b244ad904295ac8a55858ef3 /clang/test/CodeGen/c-unicode.c | |
parent | 5a1857b6eb6e3da6918f353388d424e344206219 (diff) | |
download | bcm5719-llvm-84055ecb7dabc7172c395b902106b328d4f08ae1.tar.gz bcm5719-llvm-84055ecb7dabc7172c395b902106b328d4f08ae1.zip |
Fix c-unicode.c testcase again.
Specifying a fixed triple is not possible because that target may not
even be compiler. Go for a simpler fix by using a _? regex for the
prefix.
llvm-svn: 253758
Diffstat (limited to 'clang/test/CodeGen/c-unicode.c')
-rw-r--r-- | clang/test/CodeGen/c-unicode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/c-unicode.c b/clang/test/CodeGen/c-unicode.c index 431b1f97588..c5244984d0c 100644 --- a/clang/test/CodeGen/c-unicode.c +++ b/clang/test/CodeGen/c-unicode.c @@ -1,7 +1,7 @@ -// 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 +// 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 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 '(' |