Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / drs / dr2354.cpp
blob3efb0ba555669071aa5ae1ff473a2f01825aa5e3
1 // RUN: %clang_cc1 -x c++ -verify %s
3 // dr2354: 15
5 namespace DR2354 {
7 enum alignas(64) A {}; // expected-error {{'alignas' attribute cannot be applied to an enumeration}}
8 enum struct alignas(64) B {}; // expected-error {{'alignas' attribute cannot be applied to an enumeration}}
10 } // namespace DR2354