blob: e38d8d3f6d983aa2aef8f9d7d0dad0ba81de34bb [file] [log] [blame]
//PR c++/29980
// { dg-do compile { target c++11 } }
struct A { typedef int X; }; // { dg-message "previous declaration" }
struct [[gnu::unused]] A::X; // { dg-error "typedef-name" }