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: commit all my stuff
[smatch.git]
/
validation
/
typedef_shadow.c
blob
e52de80f27a02cf25d7688af425c73e7fbe3a829
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
*/