From: Keith Walker Date: Mon, 4 Aug 2014 10:13:09 +0000 (+0000) Subject: Fix tests Clang::Sema/statements.c and Clang::SemaTemplate/instantiate-expr-1.cpp... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd18a30f872d9991a6b81d2f04e16e64767e0be7;p=clang Fix tests Clang::Sema/statements.c and Clang::SemaTemplate/instantiate-expr-1.cpp when AArch64 is the default target. 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 --- diff --git a/test/Sema/statements.c b/test/Sema/statements.c index 8cd30b0c93..9ab571521a 100644 --- a/test/Sema/statements.c +++ b/test/Sema/statements.c @@ -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; diff --git a/test/SemaTemplate/instantiate-expr-1.cpp b/test/SemaTemplate/instantiate-expr-1.cpp index e777243586..820ee38e3e 100644 --- a/test/SemaTemplate/instantiate-expr-1.cpp +++ b/test/SemaTemplate/instantiate-expr-1.cpp @@ -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 struct Bitfields { int simple : I; // expected-error{{bit-field 'simple' has zero width}}