Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
palmer
/
sparse
/
f0e6938bffe0e21cde6e60ff63ed8877d4d04e26
/
.
/
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
*/