Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
palmer
/
sparse
/
f0e6938bffe0e21cde6e60ff63ed8877d4d04e26
/
.
/
validation
/
eval
/
not-cast-bool.c
blob: acd8bbf293db42f4aed34a39e3a89eef7ddb7561 [
file
] [
log
] [
blame
]
static
_Bool
foo
(
void
)
{
unsigned
char
c
=
1
;
_Bool
b
=
~
c
;
return
b
;
}
/*
* check-name: not-cast-bool
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-returns: 1
*/