blob: 2b9c76343671dac28df13b2b832e378f600217f6 [file] [log] [blame]
// 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" }