Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla21.C
blob: 0923cef2ae7304c082ea89ce8421727dfb4b03d3 [
file
] [
log
] [
blame
]
// PR c++/89404
// { dg-additional-options "-Wno-vla" }
void
foo
(
int
n
)
{
struct
{}
a
[
1
][
n
]
(+
a
[
0
]);
// { dg-error "initialized" }
}