summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t050-getglobal.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/tool-ocaml/t050-getglobal.ml')
-rw-r--r--testsuite/tests/tool-ocaml/t050-getglobal.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/tool-ocaml/t050-getglobal.ml b/testsuite/tests/tool-ocaml/t050-getglobal.ml
new file mode 100644
index 0000000000..f10393cf62
--- /dev/null
+++ b/testsuite/tests/tool-ocaml/t050-getglobal.ml
@@ -0,0 +1,8 @@
+[1];;
+
+(**
+ 0 GETGLOBAL <0>(1, 0)
+ 2 ATOM0
+ 3 SETGLOBAL T050-getglobal
+ 5 STOP
+**)