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