aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array23.C
blob: fbcd39e2c3a79bd308c9562063539c450056b95f (plain)
1
2
3
4
5
6
// PR C++/29002
// We ICE trying to set the "zero" initializer on the incomplete
//  array

struct A {A();int A::* t;};
A x[]; // { dg-error "3:array size missing" }