aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash35.C
blob: a0448af5ed64ddb11f155f55b7a76b651051e7da (plain)
1
2
3
4
5
6
7
/* This used to ICE. */
/* { dg-do "compile" } */

struct a {};

class foo : public a, a
{ /* { dg-error "duplicate base type|at end of input" } */