OSDN Git Service

* g++.dg/cpp/_Pragma1.C: Disable on AIX.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / complit3.C
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 }