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
db/fixup_kernel.sh: update vfs_write() code
[smatch.git]
/
validation
/
sizeof-builtin.c
blob
7123e4deb51bec311a81d59edff568946d8bfc86
1
int
test
(
void
);
2
int
test
(
void
)
3
{
4
return sizeof
&
__builtin_trap
;
5
}
6
7
/*
8
* check-name: sizeof-builtin
9
* check-command: sparse -Wno-decl $file
10
* check-known-to-fail
11
*
12
* check-error-start
13
sizeof-function.c:4:16: error: expression using addressof on a builtin function
14
* check-error-end
15
*/