blob: a99207792ae073001b98f4ef0e45ad52c5f31c54 [file] [log] [blame]
// PR c++/39681
// { dg-do compile { target c++11 } }
struct A
{
int* p = new foo; // { dg-error "16:foo. does not name a type" }
};