Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git] / gcc / testsuite / g++.dg / parse / pr43765.C
blob800f2c7cbbb316be00c0a983ca0c2397caf0e64c
1 // PR c++/43765
2 // { dg-options "" }
4 struct SomeType
6     int n;
7     const char *values[];
8 };
9 const char *temp[] = {"607", "612", 0};
11 SomeType vals[] =
12     {
13         { 0, values : temp, },
14         0
15     };   // { dg-error "GNU-style designated initializer for an array|cannot convert" }
16 // (note the error above is on the wrong line)