summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/static-init.c
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/test/Sema/static-init.c
parenta9fecf3f9eff108b719280d04c99151f90367b71 (diff)
downloadbcm5719-llvm-9cbbd99c4b773fff6082000e1ab567e7381837cc.tar.gz
bcm5719-llvm-9cbbd99c4b773fff6082000e1ab567e7381837cc.zip
Force arch for these test cases.
llvm-svn: 65252
Diffstat (limited to 'clang/test/Sema/static-init.c')
-rw-r--r--clang/test/Sema/static-init.c2
1 files changed, 1 insertions, 1 deletions
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