]> granicus.if.org Git - clang/commitdiff
Fix testcase when building on darwin
authorMatthias Braun <matze@braunis.de>
Sat, 21 Nov 2015 00:56:41 +0000 (00:56 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 21 Nov 2015 00:56:41 +0000 (00:56 +0000)
Explicitely specify a target to avoid "_" prefixes on the names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253741 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/c-unicode.c

index e9aba558c62f8cd1a33a52778a1af72ca9283a59..431b1f97588758e26754f64e52983a9bfcdaad6a 100644 (file)
@@ -1,5 +1,5 @@
-// 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
+// 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
 int \uaccess = 0;
 // ALLOWED: "곎ss":
 // ALLOWED-NOT: "\uaccess":