Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
sparse-dev
/
refs/heads/fix-zephyr
/
.
/
validation
/
inline_compound_literals.c
blob: fc223ff53c3d7c51dfa2312857d2f729daa27ecc [
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
();
}
/*
* check-name: inline compound literals
*/