Let's try to fix this test again with a fixed target triple

llvm-svn: 253760
This commit is contained in:
Matthias Braun 2015-11-21 02:28:42 +00:00
parent 07557fc2f1
commit 5961fef32e
1 changed files with 4 additions and 3 deletions

View File

@ -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 '('