blob: 69b2f13915ca2f12359f9fd0c12fee2bc111bb30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
(* TEST
include tool-ocaml-lib
flags = "-w -a"
ocaml_script_as_argument = "true"
* setup-ocaml-build-env
** ocaml
*)
open Lib;;
let rec f _ = 11
and g _ = f
in
if g 3 4 <> 11 then raise Not_found
;;
(**
0 CONSTINT 42
2 PUSHACC0
3 MAKEBLOCK1 0
5 POP 1
7 SETGLOBAL Lib
9 BRANCH 18
11 CONSTINT 11
13 RETURN 1
15 OFFSETCLOSUREM2
16 RETURN 1
18 CLOSUREREC 0, 11, 15
23 CONSTINT 11
25 PUSHCONSTINT 4
27 PUSHCONST3
28 PUSHACC3
29 APPLY2
30 NEQ
31 BRANCHIFNOT 38
33 GETGLOBAL Not_found
35 MAKEBLOCK1 0
37 RAISE
38 POP 2
40 ATOM0
41 SETGLOBAL T253-offsetclosurem2
43 STOP
**)
|