From: Matthias Braun Date: Sat, 21 Nov 2015 00:56:41 +0000 (+0000) Subject: Fix testcase when building on darwin X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54925adacd0d75de68b955d6197b0b02da97f161;p=clang Fix testcase when building on darwin 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 --- diff --git a/test/CodeGen/c-unicode.c b/test/CodeGen/c-unicode.c index e9aba558c6..431b1f9758 100644 --- a/test/CodeGen/c-unicode.c +++ b/test/CodeGen/c-unicode.c @@ -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":