☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla21.C
☽
☼
gcc/testsuite/g++.dg/ext/vla21.C
code
plain
raw
1
// PR c++/89404
2
// { dg-additional-options "-Wno-vla" }
3
4
void
5
foo (int n)
6
{
7
struct {} a[1][n] (+a[0]); // { dg-error "initialized" }
8
}