3 // Crash tests from PR middle-end/6994. See also gcc.dg/vla-2.c.
4 // A::A is acceptable extended C++ (VLA types brought over from C99);
5 // B::B is not, but is closely related to acceptable extended C, though
6 // not to acceptable C99.
12 int ar[1][i]; // { dg-error "variable length array" }
22 int ar[1][i]; // { dg-error "array" }
25 s.ar[0][0] = 0; // { dg-error "no member" }