summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t022-pushconstint.ml
blob: 7fb3c3c715a9e518c6556085e087a48bdfac484f (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 -1;;

(**
       0 CONST0
       1 PUSHCONSTINT -1
       3 POP 1
       5 ATOM0
       6 SETGLOBAL T022-pushconstint
       8 STOP
**)