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