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_call_mono.mlw
blob
06392281d2d7e93688d04148779f033e4f68c8db
1
2
use int.Int
3
4
type t = { mutable c : int }
5
6
val z: t
7
8
let g ()
9
writes { z.c }
10
ensures { z.c > old z.c }
11
= z.c <- z.c + 1
12
13
let f () =
14
z.c <- 0;
15
g ();
16
assert { z.c = 1 }