☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
init
/
new20.C
☽
☼
gcc/testsuite/g++.dg/init/new20.C
code
plain
raw
1
// PR c++/31743
2
typedef int A[];
3
A* p = new A; // { dg-error "invalid use of array with unspecified bounds" }
4
A* q = new (A); // { dg-error "invalid use of array with unspecified bounds" }
5
6