r253741 - Fix testcase when building on darwin

Matthias Braun via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 16:56:41 PST 2015


Author: matze
Date: Fri Nov 20 18:56:41 2015
New Revision: 253741

URL: http://llvm.org/viewvc/llvm-project?rev=253741&view=rev
Log:
Fix testcase when building on darwin

Explicitely specify a target to avoid "_" prefixes on the names.

Modified:
    cfe/trunk/test/CodeGen/c-unicode.c

Modified: cfe/trunk/test/CodeGen/c-unicode.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/c-unicode.c?rev=253741&r1=253740&r2=253741&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/c-unicode.c (original)
+++ cfe/trunk/test/CodeGen/c-unicode.c Fri Nov 20 18:56:41 2015
@@ -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":




More information about the cfe-commits mailing list