1 // PR c++/68490 - error initializing a structure with a flexible array member
3 // { dg-options "-Wpedantic" }
7 int a[]; // { dg-warning "forbids flexible array member" }
12 // Verify the initializer below is accepted for compatibility with gcc
15 a = { 2, { 1, 0 } }; // { dg-warning "initialization of a flexible array member" }