Debian Codegraph @

gcc/testsuite/g++.dg/ext/complit3.C

raw
1 // { dg-options "" }
2
3 int Compound_Literals_0()
4 {
5 static int y[] = (int []) {1, 2, 3}; // { dg-error "init" }
6 static int z[] = (int [3]) {1}; // { dg-error "init" }
7 return y[0]+z[0];
8 }