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