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
states: rename unreachable() to is_unreachable()
[smatch.git]
/
validation
/
type-attribute-mod.c
blob
d55011dfa09a411d9394f9c2e72c325c7813b2cd
1
#define __noderef __attribute__((noderef))
2
3
struct
s
{
4
int
i
;
5
}
__noderef
;
6
7
8
void
main
(
void
)
9
{
10
struct
s s
;
11
12
s
.
i
=
0
;
13
}
14
15
/*
16
* check-name: type-attribute-mod
17
*
18
* check-error-start
19
type-attribute-mod.c:12:9: warning: dereference of noderef expression
20
* check-error-end
21
*/