blob: 4f629aa5372050acec909f6a9e6b4ca67c22f03c [file] [log] [blame]
//PR c++/29980
struct A { typedef int X; }; // { dg-error "previous declaration" }
struct __attribute__((unused)) A::X; // { dg-error "typedef-name" }