summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
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