summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t050-pushgetglobal.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/tool-ocaml/t050-pushgetglobal.ml')
-rw-r--r--testsuite/tests/tool-ocaml/t050-pushgetglobal.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/tool-ocaml/t050-pushgetglobal.ml b/testsuite/tests/tool-ocaml/t050-pushgetglobal.ml
new file mode 100644
index 0000000000..e1172cc350
--- /dev/null
+++ b/testsuite/tests/tool-ocaml/t050-pushgetglobal.ml
@@ -0,0 +1,10 @@
+let _ = () in 0.01;;
+
+(**
+ 0 CONST0
+ 1 PUSHGETGLOBAL 0.01
+ 3 POP 1
+ 5 ATOM0
+ 6 SETGLOBAL T050-pushgetglobal
+ 8 STOP
+**)