☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla5.C
☽
☼
gcc/testsuite/g++.dg/ext/vla5.C
code
plain
raw
1
// PR c++/37417
2
// Testcase by Martin Michlmayr <
[email protected]
>
3
// { dg-do compile }
4
// { dg-options "-O" }
5
6
void
7
test (int a)
8
{
9
new (char[a]); // { dg-warning "parentheses" }
10
}