diff options
Diffstat (limited to 'testsuite/tests/tool-ocaml/t051-getglobalfield.ml')
-rw-r--r-- | testsuite/tests/tool-ocaml/t051-getglobalfield.ml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/tool-ocaml/t051-getglobalfield.ml b/testsuite/tests/tool-ocaml/t051-getglobalfield.ml new file mode 100644 index 0000000000..45d9ccea22 --- /dev/null +++ b/testsuite/tests/tool-ocaml/t051-getglobalfield.ml @@ -0,0 +1,13 @@ +Lib.x;; + +(** + 0 CONSTINT 42 + 2 PUSHACC0 + 3 MAKEBLOCK1 0 + 5 POP 1 + 7 SETGLOBAL Lib + 9 GETGLOBALFIELD Lib, 0 + 12 ATOM0 + 13 SETGLOBAL T051-getglobalfield + 15 STOP +**) |