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
/
val_call_unit_arg.mlw
blob
c2ffc0d992331d18753cdff55e520fa6a314c320
1
use int.Int
2
3
val ref x : int
4
val ref y : int
5
6
val test () : unit
7
writes { x, y }
8
ensures { x + (old y) = 0 }
9
ensures { y = (old x) }
10
11
let main [@bddinfer] () =
12
x <- 42;
13
y <- 37;
14
test()