aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/init/array23.C
blob: 80ffb0a98cc2dfe07c677c58e37e5b4a99a89411 (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 "size" }