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