xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_union_init2.c (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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