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
hooks: add a warning to detect unimplemented hooks
[smatch.git]
/
validation
/
typedef-redef-c89.c
blob
6d4dc28c134a435200bade4bb6b78e596be67ea4
1
typedef
int
int_t
;
2
typedef
int
int_t
;
3
4
/*
5
* check-name: typedef-redef-c89
6
* check-command: sparse -std=c89 --pedantic $file
7
* check-known-to-fail
8
*
9
* check-error-start
10
typedef-redef-c89.c:2:13: warning: redefinition of typedef 'int_t'
11
typedef-redef-c89.c:1:13: info: originally defined here
12
* check-error-end
13
*/