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
user_data: make a function static
[smatch.git]
/
validation
/
multi_typedef.c
blob
d9ffd0f7175f0f2227674d23ce6aba9fd7671130
1
typedef
int
T
, *
P
;
2
static void
f
(
void
)
3
{
4
unsigned
P
=
0
;
5
unsigned
x
=
P
;
6
}
7
static void
g
(
void
)
8
{
9
int
P
=
0
;
10
int
x
=
P
;
11
}
12
/*
13
* check-name: typedefs with many declarators
14
* check-description: we didn't recognize P above as a typedef
15
*/