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
kernel-printf: add printf format %pra for struct range
[smatch.git]
/
validation
/
typedef_shadow.c
blob
e8e4c229b1d098d4bba12afd22015bf203c78ed2
1
typedef
int
T
;
2
static void
f
(
int
T
)
3
{
4
static
T a
;
5
}
6
/*
7
* check-name: typedef shadowing
8
* check-error-start
9
typedef_shadow.c:4:16: warning: 'T' has implicit type
10
typedef_shadow.c:4:18: error: Expected ; at end of declaration
11
typedef_shadow.c:4:18: error: got a
12
* check-error-end
13
*/