diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-21 23:45:41 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-21 23:45:41 +0000 |
commit | 9cbbd99c4b773fff6082000e1ab567e7381837cc (patch) | |
tree | 127a4e8aa1d16872119b5552e681ae608d133d76 /clang | |
parent | a9fecf3f9eff108b719280d04c99151f90367b71 (diff) | |
download | bcm5719-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.c | 2 | ||||
-rw-r--r-- | clang/test/Sema/static-init.c | 2 |
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}} |