Merge branch 'upgrade_proofs_coq_8_11_to_8_16' into 'master'
[why3.git] / bench / check-ce / func_call6_mono.mlw
blob6de156f110bb5708cb154a5985361c1b835da6ca
2 (* similar to func_call4.mlw but uses a let to declare z *)
4 use int.Int
6 type t = { mutable c : int }
8 let z = { c = any int }
10 val g (): unit
11   writes { z.c }
12   ensures { z.c > old z.c }
14 let f () =
15   z.c <- 0;
16   g ();
17   assert { z.c = 1 }