Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}