Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash35.C

raw
1 /* This used to ICE. */
2 /* { dg-do compile } */
3
4 struct a {};
5
6 class foo : public a, a // { dg-error "duplicate base" }
7 { // { dg-error "2:at end of input" }