summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/error3.C
blob: 0b75b9dfb51d448756d1f3ca91b8564c34cb3e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
//PR c++/27316

struct A {};

struct B : A
!               // { dg-error "token" }
{};

struct B : A
!               // { dg-error "token" }
{};