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
Various minor fixes for compiler/linter (other then splint itself) warnings.
[splint-patched.git]
/
test
/
impabstract.c
blob
ad8906978c90891c4b3670a97ee61f2ccfc01866
1
typedef
int
mint
;
/* Concrete in impabstract.lcl */
2
typedef
/*@concrete@*/
int
cint
;
/* Abstract in impabstract.lcl */
3
4
int
f
(
mint m
,
cint c
)
5
{
6
if
(
c
>
3
)
7
{
8
return
c
;
9
}
10
11
if
(
m
<
2
)
12
{
13
return
m
;
14
}
15
16
return
3
;
17
}