Merge branch 'minimum-excludant-other-versions' into 'master'
[why3.git] / bench / infer / val_call_unit_arg.mlw
blobc2ffc0d992331d18753cdff55e520fa6a314c320
1 use int.Int
3 val ref x : int
4 val ref y : int
6 val test () : unit
7   writes { x, y }
8   ensures { x + (old y) = 0 }
9   ensures { y = (old x) }
11 let main [@bddinfer] () =
12   x <- 42;
13   y <- 37;
14   test()