(* RUN: rm -rf %t.builddir * RUN: mkdir -p %t.builddir * RUN: cp %s %t.builddir * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_bitreader.cmxa llvm_executionengine.cmxa %t.builddir/ext_exc.ml -o %t * RUN: %t ();; let _ = try ignore (Llvm.MemoryBuffer.of_file "/path/to/nonexistent/file") with Llvm.IoError _ -> ();;