DEBSOURCES
Skip Quicknav
sources / ocaml / 5.3.0-3 / testsuite / tests / asmcomp / try_checkbound.ml
123456789101112
(* TEST *) (* See PR#10339 *) let access (a: string array) n = try ignore (a.(n)); -1 with _ -> n let _ = assert (access [||] 1 = 1)