Debian Codegraph @

gcc/testsuite/g++.dg/init/array48.C

raw
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" }