repo.or.cz
/
why3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'minimum-excludant-other-versions' into 'master'
[why3.git]
/
bench
/
infer
/
pbinfer2_simplified.mlw
blob
2100dd0f9aa066bda92eef012be3d0af9e512008
1
2
use int.Int
3
use ref.Ref
4
5
val to_true (ii : bool) : int
6
ensures { if ii then result = 1 else result = 100 }
7
8
let pgmtest [@bddinfer] [@infer](x: bool) : unit = [@vc:divergent]
9
let a = ref false in
10
while true do
11
let _ = to_true false in
12
let _ = to_true x in
13
a := x
14
done