Merge branch 'upgrade_proofs_coq_8_11_to_8_16' into 'master'
[why3.git] / bench / check-ce / func_call5.mlw
bloba6986c1aac605985cd5330c2b0f9c723224b1dfe
3 use int.Int
4 use ref.Ref
6 let g1 (y: int)
7   requires { y > 0 }
8   ensures { !result >= y }
9 = ref y
11 let f1 (x : int)
12   requires { x > 0 }
14   let z = g1 x in
15   assert { !z = x }
17 let g2 (y: int) = ref (y + 1)
19 let f2 (x: int) =
20   let z = g2 x in
21   assert { !z = x }