From 9cbbd99c4b773fff6082000e1ab567e7381837cc Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 21 Feb 2009 23:45:41 +0000 Subject: [PATCH] Force arch for these test cases. llvm-svn: 65252 --- clang/test/CodeGen/const-init.c | 2 +- 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 128bbb54f337..a709cef218af 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 diff --git a/clang/test/Sema/static-init.c b/clang/test/Sema/static-init.c index b3c8d0f9f181..f7648a6d358f 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}}