Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
chrisl
/
sparse
/
refs/tags/0.4
/
.
/
validation
/
inline_compound_literals.c
blob: 649d42ab38aa76cea1e1025174ef5d650ccc70c9 [
file
] [
log
] [
blame
]
struct
foo
{
int
x
;
};
static
inline
void
baz
(
void
)
{
(
struct
foo
)
{
.
x
=
0
};
}
static
void
barf
(
void
)
{
baz
();
}
static
void
foo
(
void
)
{
baz
();
}