PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / enum3.C
blob81e6963567811aa2141859e83d92aabdcc7c87f1
1 // PR c++/28261
3 struct A {}; // { dg-message "A::A" }
4 // { dg-message "defined here" "" { target *-*-* } .-1 }
6 A::A (enum { e }) {} // { dg-error "no declaration matches" }
7 // { dg-error "in parameter types" "" { target *-*-* } .-1 }