repo.or.cz
/
splint-patched.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Some consistency changes to library & headers flags.
[splint-patched.git]
/
test
/
longint.c
blob
c813615e876f843f3eae0c2d6909d3d18961226d
1
void
f
(
void
)
2
{
3
long int
li1
=
3L
;
4
int
i1
=
7
;
5
short int
si1
=
3
;
6
7
i1
=
li1
;
/* error unless +longint */
8
li1
=
i1
;
/* okay */
9
i1
=
si1
;
/* okay */
10
si1
=
i1
;
/* error unless +shortint */
11
12
li1
=
si1
;
13
si1
=
li1
;
/* error unless +shortint +longint */
14
}