NetBSD/regress/usr.bin/xlint/lint1/test1.c
christos ce599fdf1d Tiny stand-alone code fragments to test lint's features/bugs.
Use obj/lint1 testX.c /dev/null to test.
We don't descend here or provide any test infrastructure yet.
2002-10-22 13:33:38 +00:00

9 lines
96 B
C

/* C99 union initialization */
union {
int i;
char *s;
} c[] = {
{ i: 1 },
{ s: "foo" }
};