summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash24.C
blob: fdc4f1e7c9d2df55ed6dce980611b398dca863a7 (plain)
1
2
3
4
5
6
// PR c++/20461
// { dg-do compile }

class C; // { dg-error "forward declaration" }

C::C() : f() {} // { dg-error "invalid use|does not have" }