blob: e38d8d3f6d983aa2aef8f9d7d0dad0ba81de34bb (
plain)
1
2
3
4
5
6
|
//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" }
|