forked from OSchip/llvm-project
Add a triple to this test so it passes for targets where alignof(double)
really should be equal to alignof(float). llvm-svn: 352102
This commit is contained in:
parent
a957fa7e15
commit
2470ac745a
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_cc1 -std=c++11 -verify %s
|
||||
// RUN: %clang_cc1 -std=c++11 -verify %s -triple x86_64-linux-gnu
|
||||
|
||||
alignas(double) void f(); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
|
||||
alignas(double) unsigned char c[sizeof(double)]; // expected-note {{previous}}
|
||||
|
|
Loading…
Reference in New Issue