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
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla5.C
blob
ca583091769f6da191d567f3e5fcf3e781781998
1
// PR c++/37417
2
// Testcase by Martin Michlmayr <tbm@cyrius.com>
3
// { dg-do compile }
4
// { dg-options "-O" }
5
6
void
7
test (int a)
8
{
9
new (char[a]); // { dg-warning "parentheses" }
10
}