summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-21 23:45:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-21 23:45:41 +0000
commit9cbbd99c4b773fff6082000e1ab567e7381837cc (patch)
tree127a4e8aa1d16872119b5552e681ae608d133d76 /clang
parenta9fecf3f9eff108b719280d04c99151f90367b71 (diff)
downloadbcm5719-llvm-9cbbd99c4b773fff6082000e1ab567e7381837cc.tar.gz
bcm5719-llvm-9cbbd99c4b773fff6082000e1ab567e7381837cc.zip
Force arch for these test cases.
llvm-svn: 65252
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/const-init.c2
-rw-r--r--clang/test/Sema/static-init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c
index 128bbb54f33..a709cef218a 100644
--- a/clang/test/CodeGen/const-init.c
+++ b/clang/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 <stdint.h>
diff --git a/clang/test/Sema/static-init.c b/clang/test/Sema/static-init.c
index b3c8d0f9f18..f7648a6d358 100644
--- a/clang/test/Sema/static-init.c
+++ b/clang/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}}
OpenPOWER on IntegriCloud