xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_union_init2.c (revision 517e52b6c21ccff22c46df0dcd15c19baee3d86c)
1 /* C99 union initialization */
2 union {
3 	int i[10];
4 	short s;
5 } c[] = {
6 	{ s: 2 },
7 	{ i: { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } },
8 };
9