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-altergo-2.6.0' into 'master'
[why3.git]
/
tests
/
test_ghost.mlw
blob
456f55ce933de7325ac748104d39ddafa0cfbf4f
1
2
3
module M
4
5
type t = O | S t
6
7
let f () =
8
let ghost g (x:t) : t =
9
match x with O -> O | S y -> y end
10
(*
11
with ghost h (x:t) : t =
12
match x with O -> O | S y -> y end
13
*)
14
in
15
()
16
17
end