⚲
Project
General
Profile
Sign in
Register (only for users w/o CAMPUS or NetID)
Home
Projects
Help
Search
:
OpenSMT 2
All Projects
OpenSMT 2
Overview
Activity
Issues
Spent time
Gantt
Calendar
News
Documents
Wiki
Files
Repository
Download (219 Bytes)
Bug #3488
» rec.c
Antti Hyvärinen
, 06/09/2016 09:48
int
nondet
();
int
f
(
int
a
){
if
(
a
<
10
)
return
f
(
a
+
1
);
return
a
-
10
;
}
void
main
(){
int
y
=
0
;
int
x
=
nondet
();
__CPROVER_assume
(
x
>
8
&&
x
<
100
);
if
(
x
>
0
)
y
=
f
(
x
);
assert
(
y
>=
0
);
}
(1-1/1)
Loading...