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