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