Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / ext / complit3.C
bloba54a8bce1f9ee65cb9d21786f06a4dc9fbbed16a
1 // { dg-options "" }
3 int Compound_Literals_0()
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];