Files
why3/bench/programs/bad-typing/alias2.mlw
2018-06-15 17:08:09 +02:00

13 lines
133 B
Plaintext

module M
use ref.Ref
let foo (x : ref int) (y : ref int) =
x := 1;
y := 2
let test (x : ref int) =
foo x x
end