repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[middle-end PATCH] Prefer PLUS over IOR in RTL expansion of multi-word shifts/rotates.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
arrnew2.C
blob
fceb95e9ee57695a548a66cf130960120a312ba1
1
// { dg-do compile }
2
// { dg-options "-w -fpermissive" }
3
4
int *foo = new int[1](42); // { dg-error "parenthesized" "" { target c++17_down } }
5
int main ()
6
{
7
return foo[0] != 42;
8
}