Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-27.C

raw
1 //PR c++/29980
2 // { dg-do compile { target c++11 } }
3
4 struct A { typedef int X; }; // { dg-message "previous declaration" }
5
6 struct [[gnu::unused]] A::X; // { dg-error "typedef-name" }