Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
sparse
/
d1c2f8d3d4205ca1ae7cf0ec2cbd89a7fce73e5c
/
.
/
validation
/
pure-function.c
blob: 04bb85e4dbb15f1caa607de697859f310734634a [
file
] [
log
] [
blame
]
static
__attribute__
((
__pure__
))
int
pure1
(
void
)
{
int
i
=
0
;
return
i
;
}
static
__attribute__
((
__pure__
))
void
*
pure2
(
void
)
{
void
*
i
=
(
void
*)
0
;
return
i
;
}
/*
* check-name: Pure function attribute
*/