Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / dcl.dcl / dcl.attr / dcl.align / p1.cpp
blobec7b22f753f10d47ba6eb852cd8f90b5c80d3532
1 // RUN: %clang_cc1 -std=c++11 -verify %s
3 typedef int A alignas(4); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}
4 template<int N> void f() {
5 typedef int B alignas(N); // expected-error {{'alignas' attribute only applies to variables, data members and tag types}}