Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
sparse-dev
/
refs/heads/fix-zephyr
/
.
/
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
*/