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
fix sessions and CE oracles
[why3.git]
/
bench
/
extraction
/
optimize_record.mlw
blob
d24ee8cd0fc434d9af56eeecf5f887ccdc5c27c1
1
module T
2
use int.Int
3
4
type t = { x : int }
5
invariant { 0 < x }
6
by { x = 1 }
7
8
9
let f b =
10
if b then let y = { x = 1 } in y
11
else { x = 2 }
12
end