repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
whitespace: add a newline
[smatch.git]
/
validation
/
sizeof-bool.c
blob
6c68748a0b3f2502d77711812c83211bfd0c11af
1
static int
a
(
void
)
2
{
3
return sizeof
(
_Bool
);
4
}
5
/*
6
* check-name: sizeof(_Bool) is valid
7
* check-description: sizeof(_Bool) was rejected because _Bool is not an even
8
* number of bytes
9
* check-error-start
10
sizeof-bool.c:3:16: warning: expression using sizeof bool
11
* check-error-end
12
*/