☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error8.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/error8.C
code
plain
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
};