]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/gen-attrs-27.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-27.C
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" }
This page took 0.0364 seconds and 5 git commands to generate.