PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-27.C
blobe38d8d3f6d983aa2aef8f9d7d0dad0ba81de34bb
1 //PR c++/29980
2 // { dg-do compile { target c++11 } }
4 struct A { typedef int X; };            // { dg-message "previous declaration" }
6 struct [[gnu::unused]] A::X;    // { dg-error "typedef-name" }