aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}}