blob: 859bded41971694cec9576487cb21c1dfb1ac2a7 [file] [log] [blame]
// PR c++/28711
// { dg-do compile }
// { dg-options "" }
template<int> struct A
{
int x[1][1];
A() : x((int[1][]){{0}}) {} // { dg-error "except the first" }
};
A<0> a;