PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib27.C
blobb770c1c4404b9093a615f2beeff2579b8473c483
1 //PR c++/29980
3 struct A { typedef int X; };            // { dg-message "previous declaration" }
5 struct __attribute__((unused)) A::X;    // { dg-error "typedef-name" }