Skip to content

Commit

Permalink
Let's try to fix this test again with a fixed target triple
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253760 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
MatzeB committed Nov 21, 2015
1 parent ea7e45f commit f01ff88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/CodeGen/c-unicode.c
Original file line number Diff line number Diff line change
@@ -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 '('

0 comments on commit f01ff88

Please sign in to comment.