NetBSD/regress/usr.bin/xlint/lint1/test12.c
2002-11-13 21:53:13 +00:00

9 lines
128 B
C

/* C99 union initialization */
union {
int i[10];
short s;
} c[] = {
{ s: 2 },
{ i: { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } },
};