mirror of https://github.com/microsoft/clang.git
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
This commit is contained in:
parent
5a85cc570a
commit
dd18a30f87
|
@ -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;
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue