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
/
typedef_shadow.c
blob
c72cec72d1612ef586a835cd65145e639889575a
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:18: error: Expected ; at end of declaration
10
typedef_shadow.c:4:18: error: got a
11
* check-error-end:
12
*/