summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t040-makeblock3.ml
blob: c8ff9e44fcf7e12a5bc1949eb89f0f3af0fb0ca5 (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
(* TEST
 include tool-ocaml-lib;
 flags = "-w -a";
 ocaml_script_as_argument = "true";
 setup-ocaml-build-env;
 ocaml;
*)

type t = {
  mutable a : int;
  mutable b : int;
  mutable c : int;
};;

{ a = 0; b = 0; c = 0 };;

(**
       0 CONST0
       1 PUSHCONST0
       2 PUSHCONST0
       3 MAKEBLOCK3 0
       5 ATOM0
       6 SETGLOBAL T040-makeblock3
       8 STOP
**)