Debian Codegraph @

gcc/testsuite/g++.dg/ext/vla21.C

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 }