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