blob: b1e5d60f162913034fbaf27f28a48d35f4511089 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(* TEST
flags = "-g"
ocamlrunparam += ",b=1"
ocamlopt_flags = "-inline 0"
exit_status = "2"
*)
let why : unit -> unit = fun () -> raise Exit [@@inline never]
let f () =
for i = 1 to 10 do
why @@ ();
done;
ignore (3 + 2);
() [@@inline never]
let () =
f ()
|