1 // PR c++/78345 2 // { dg-do compile { target c++11 } } 3 4 struct A 5 { 6 const int i; 7 } a[1] = []{}; // { dg-error "array.*init" } 8