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
Remove building with NOCRYPTO option
[minix.git]
/
tests
/
usr.bin
/
xlint
/
lint1
/
d_compound_literals2.c
blob
e4ffb929873fd3f5ea4e56ff7b4b7c62b4dc32e2
1
/* compound literals */
2
3
struct
p
{
4
short
a
,
b
,
c
,
d
;
5
}
zz
= {
6
1
,
2
,
3
,
4
7
};
8
9
struct
p
*
bar
(
int
i
)
10
{
11
static struct
p q
[
10
];
12
return
&
q
[
i
];
13
}
14
15
foo
()
16
{
17
*
bar
(
1
) = (
struct
p
) {
1
,
2
,
3
,
4
};
18
}