blob: 27fec1307c3311e7c7ba6c874b42de13153367e1 [file] [log] [blame]
// PR c++/78345
// { dg-do compile { target c++11 } }
struct A
{
const int i;
} a[1] = []{}; // { dg-error "array.*init" }