(* RUN: rm -rf %t && mkdir -p %t && cp %s %t/ext_exc.ml
* RUN: %ocamlc -g -w +A -package llvm.bitreader -linkpkg %t/ext_exc.ml -o %t/executable
* RUN: %t/executable
* RUN: %ocamlopt -g -w +A -package llvm.bitreader -linkpkg %t/ext_exc.ml -o %t/executable
* RUN: %t/executable
* XFAIL: vg_leak
*)
let context = global_context (
(
(* This used to crash, we must not use 'external' in .mli files, but 'val' if we
* want the let _ bindings executed, see http://caml.inria.fr/mantis/view.php?id=4166 *)
let _ =
set_diagnostic_handler context ;
try
ignore
(;;
let _ =
try
ignore
(;;