repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Makefile: use quiet link to link smatch
[smatch.git]
/
validation
/
inline_compound_literals.c
blob
fc223ff53c3d7c51dfa2312857d2f729daa27ecc
1
struct
foo
{
2
int
x
;
3
};
4
5
static
inline
void
baz
(
void
)
6
{
7
(
struct
foo
) { .
x
=
0
};
8
}
9
10
static void
barf
(
void
)
11
{
12
baz
();
13
}
14
15
static void
foo
(
void
)
16
{
17
baz
();
18
}
19
20
/*
21
* check-name: inline compound literals
22
*/