Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/error8.C

raw
1 // PR c++/39681
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
6 int* p = new foo; // { dg-error "16:foo. does not name a type" }
7 };