Skip to content
Snippets Groups Projects
Commit a0d66baa authored by Régis Blanc's avatar Régis Blanc
Browse files

one more test

parent 9974e2b2
No related branches found
No related tags found
No related merge requests found
import leon.Utils._
import leon.Annotations._
object Imp {
@main
def foo(i: Int): Int = {
var a = 0
a = a + 3
if(i < a)
waypoint(1, a = a + 1)
else
a = a - 1
a
} ensuring(_ >= 0)
}
// vim: set ts=4 sw=4 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment