aboutsummaryrefslogtreecommitdiff
path: root/test
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
commit8d7d6e9a486ad69532f9b50e75109d6ed61b0ad6 (patch)
treebb1f080c5cdc6a4d0e56b1e09445e761323a7e30 /test
parent643887ab8de731c7096f48816f19a18017d05924 (diff)
Force arch for these test cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/const-init.c2
-rw-r--r--test/Sema/static-init.c2
2 files changed, 2 insertions, 2 deletions
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 <stdint.h>
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}}