repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/protocols - sync with NetBSD-8
[minix.git]
/
tests
/
usr.bin
/
xlint
/
lint1
/
d_c99_recursive_init.c
blob
347644ffe107ed944c3d0358986dae444622a27b
1
/* C99 recursive struct/union initialization */
2
struct
top
{
3
int
i
;
4
char
c
;
5
union
onion
{
6
short
us
;
7
char
uc
;
8
}
u
;
9
char
*
s
;
10
}
c
[] = {
11
{ .
s
=
"foo"
, .
c
=
'b'
, .
u
= { .
uc
=
'c'
} },
12
{ .
i
=
1
, .
c
=
'a'
, .
u
= { .
us
=
2
} },
13
};