summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr28432.C
blob: 2b9c76343671dac28df13b2b832e378f600217f6 (plain)
1
2
3
4
5
6
7
// Test to make sure we do not ICE on this invalid program.

// { dg-options "" }

struct A {};
void A::foo(); // { dg-error "member function declared in class|outside of class is not definition" }