OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/47277
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
new20.C
1
// PR c++/31743
\r
2
typedef int A[];
\r
3
A* p = new A; // { dg-error "invalid use of array with unspecified bounds" }
\r
4
A* q = new (A); // { dg-error "invalid use of array with unspecified bounds" }
\r
5
\r
6
\r