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
/
Wunknown-attribute-yes.c
blob
4b7fcc32ba278d7d3c53d7ec75613f5296f16d67
1
static int
foo
(
void
)
__attribute__
((
unknown_attribute
));
2
3
/*
4
* check-name: warn-unknown-attribute-yes
5
* check-command: sparse -Wunknown-attribute $file
6
*
7
* check-error-start
8
Wunknown-attribute-yes.c:1:37: warning: unknown attribute 'unknown_attribute'
9
* check-error-end
10
*/