Fix tests Clang::Sema/statements.c and Clang::SemaTemplate/instantiate-expr-1.cpp...
authorKeith Walker <kwalker@arm.com>
Mon, 4 Aug 2014 10:13:09 +0000 (10:13 +0000)
committerKeith Walker <kwalker@arm.com>
Mon, 4 Aug 2014 10:13:09 +0000 (10:13 +0000)
Commit r213935 added additional validation of register constants/size for AArch64 and because these tests which contain Intel assembler the new validation caused these tests to fail when the default target is changed to an AArch64 target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214706 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/statements.c
test/SemaTemplate/instantiate-expr-1.cpp

index 8cd30b0c93cd64f287082f05e62219801f84411c..9ab571521a3af80a49ca950ec8005c5685e5444e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify  -triple x86_64-pc-linux-gnu
 
 typedef unsigned __uint32_t;
 
index e7772435865d3d52f4d3bf8acef9569ea3112569..820ee38e3eabae2ee8957496100542057fe899c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s  -triple x86_64-pc-linux-gnu
 template<int I, int J>
 struct Bitfields {
   int simple : I; // expected-error{{bit-field 'simple' has zero width}}