Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
viro
/
sparse
/
4d6db1798508eb45517f5a0a55d73eb44ffe19b9
/
.
/
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
*/