PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash35.C
blob161edad32a2a790254ef3028422a57d2e45b1d93
1 /* This used to ICE. */
2 /* { dg-do compile } */
4 struct a {};
6 class foo : public a, a         // { dg-error "duplicate base" }
7 { /* { dg-error "at end of input" } */