freebsd-dev/contrib/netbsd-tests/usr.bin/xlint/lint1/d_c99_union_init4.c
Enji Cooper 640235e2c2 Checkpoint initial integration work
- Some of the lib/libc and lib/thr tests fail
- lib/msun/exp_test:exp2_values now passes with clang 3.8.0

The Makefiles in contrib/netbsd-tests were pruned as they have no value

Sponsored by: EMC / Isilon Storage Division
2016-08-12 08:50:05 +00:00

16 lines
240 B
C

/* test .data.l[x] */
typedef struct {
int type;
union {
char b[20];
short s[10];
long l[5];
} data;
} foo;
foo bar = {
.type = 3,
.data.l[0] = 4
};