summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t021-pushconst3.ml
blob: c07111e952485fd2e48d163136801612adc44cd9 (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
**)