re PR c++/84644 (internal compiler error: in warn_misplaced_attr_for_class_type,...
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype68.C
blob58740c1f10f2a2a1820249f3c5049ddd7498e9cd
1 // PR c++/84644
2 // { dg-do compile { target c++11 } }
4 template<int a>
5 struct b {
6   decltype(a) __attribute__((break));  // { dg-error "declaration does not declare anything" }
7 };