forked from OSchip/llvm-project
Let's try to fix this test again with a fixed target triple
llvm-svn: 253760
This commit is contained in:
parent
07557fc2f1
commit
5961fef32e
|
@ -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 '('
|
||||
|
|
Loading…
Reference in New Issue