[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / invalid-aligned-attr.cpp
blob5807536359a1b25b16219b2cdb38a1bca6fb12c3
1 // RUN: %clang_cc1 -frecovery-ast -verify %s
2 // RUN: %clang_cc1 -verify %s
4 struct alignas(invalid()) Foo {}; // expected-error {{use of undeclared identifier}}
6 constexpr int k = alignof(Foo);