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

struct A {};
int A::* x[]; // { dg-error "size" }