1 // PR c++/68478 - flexible array members have complete type
3 // { dg-options "-Wno-error=pedantic" }
5 // Test to verify that attempting to use a flexible array member where
6 // a complete type is required is rejected.
12 e = sizeof a // { dg-error "invalid application of .sizeof. to incomplete type" }
21 e = sizeof a // { dg-error "invalid application of .sizeof. to incomplete type" }