From: Daniel Dunbar Date: Sat, 21 Feb 2009 23:45:41 +0000 (+0000) Subject: Force arch for these test cases. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d7d6e9a486ad69532f9b50e75109d6ed61b0ad6;p=clang Force arch for these test cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65252 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index 128bbb54f3..a709cef218 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -1,4 +1,4 @@ -// RUN: clang -verify -emit-llvm -o %t %s && +// RUN: clang -arch i386 -verify -emit-llvm -o %t %s && #include diff --git a/test/Sema/static-init.c b/test/Sema/static-init.c index b3c8d0f9f1..f7648a6d35 100644 --- a/test/Sema/static-init.c +++ b/test/Sema/static-init.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only -verify %s +// RUN: clang -arch i386 -fsyntax-only -verify %s static int f = 10; static int b = f; // expected-error {{initializer element is not a compile-time constant}}