summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib27.C
blob: 4f629aa5372050acec909f6a9e6b4ca67c22f03c (plain)
1
2
3
4
5
//PR c++/29980

struct A { typedef int X; };            // { dg-error "previous declaration" }

struct __attribute__((unused)) A::X;    // { dg-error "typedef-name" }