ocaml/camlp4/test/fixtures/bug-camlp4o-constr-arity.ml

11 lines
181 B
OCaml
Raw Normal View History

function
| Some Some Some x -> x
(* | None None None x -> x *)
| _ -> assert false;;
fun None None None -> ();;
fun (Some None) None None -> ();;
fun Some None None None -> ();;