summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml')
-rw-r--r--ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml20
1 files changed, 20 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml
new file mode 100644
index 0000000000..32d573217f
--- /dev/null
+++ b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t080-gtint.ml
@@ -0,0 +1,20 @@
+open Lib;;
+if 0 > 0 then raise Not_found;;
+
+(**
+ 0 CONSTINT 42
+ 2 PUSHACC0
+ 3 MAKEBLOCK1 0
+ 5 POP 1
+ 7 SETGLOBAL Lib
+ 9 CONST0
+ 10 PUSHCONST0
+ 11 GTINT
+ 12 BRANCHIFNOT 19
+ 14 GETGLOBAL Not_found
+ 16 MAKEBLOCK1 0
+ 18 RAISE
+ 19 ATOM0
+ 20 SETGLOBAL T080-gtint
+ 22 STOP
+**)