summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t021-pushconst3.ml
blob: fd1a31fb9b0d5c79230d38b5ce21b74fd9fad667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(* TEST
 include tool-ocaml-lib;
 flags = "-w -a";
 ocaml_script_as_argument = "true";
 setup-ocaml-build-env;
 ocaml;
*)

let _ = () in 3;;

(**
       0 CONST0
       1 PUSHCONST3
       2 POP 1
       4 ATOM0
       5 SETGLOBAL T021-pushconst3
       7 STOP
**)