UniTO/tesi/traces/example9bis.ml
Francesco Mecca dea5a6fbe4 traces
2020-06-30 19:31:56 +02:00

6 lines
182 B
OCaml

[@@@warning "-20"]
external observe : 'a -> 'b = "observe"
let test = function
| true -> observe 0
(* we expect a Match_failure node for 'false' in the lambda representation *)