summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash57.C
blob: c6daf777eb9b5bce4252eff0b102320a5b501c02 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/46117

struct A
{
  A (typename int); // { dg-error "before|declaration" }
};

struct B : A {};

B b;