Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-10.4.0
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
arrnew2.C
blob: aff6b9c7c63b4e1e19e57d000635e34ec1c70a98 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-w -fpermissive" }
int
*
foo
=
new
int
[
1
](
42
);
// { dg-error "parenthesized" }
int
main
()
{
return
foo
[
0
]
!=
42
;
}