OSDN Git Service

PR c++/28878
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / c99struct1.C
1 // { dg-options "" }
2 // C99 anon struct variable with array accesses.
3
4 struct s { int a[1]; };
5
6 void
7 foo5 (void)
8 {
9           ((struct s) { { 0 } }).a[0] = 1;
10 }
11
12