Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
sparse-dev
/
refs/heads/fix-zephyr
/
.
/
validation
/
function-attribute-void-ptr.c
blob: 0092b63c3f293b8b9c708980817aba5f95904e1e [
file
] [
log
] [
blame
]
#define
__noreturn __attribute__
((
__noreturn__
))
void
fun
(
void
*);
void
__noreturn die
(
void
);
static
void
foo
(
void
)
{
void
*
ptr
=
die
;
fun
(
die
);
}
/*
* check-name: function-attribute-void-ptr
*/