Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
fd31098434d7933a0471183f342473d1fb02389d
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla5.C
blob: 2457e34f18336b7d81a52ed110ad5c8883a78f55 [
file
] [
log
] [
blame
]
// PR c++/37417
// Testcase by Martin Michlmayr <tbm@cyrius.com>
// { dg-do compile }
// { dg-options "-O" }
void
test
(
int
a
)
{
new
(
char
[
a
]);
// { dg-warning "variable-length array" }
}