summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t080-eq.ml
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/tool-ocaml/t080-eq.ml')
-rw-r--r--testsuite/tests/tool-ocaml/t080-eq.ml21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/tests/tool-ocaml/t080-eq.ml b/testsuite/tests/tool-ocaml/t080-eq.ml
new file mode 100644
index 0000000000..3ee735f088
--- /dev/null
+++ b/testsuite/tests/tool-ocaml/t080-eq.ml
@@ -0,0 +1,21 @@
+open Lib;;
+if not (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 EQ
+ 12 BOOLNOT
+ 13 BRANCHIFNOT 20
+ 15 GETGLOBAL Not_found
+ 17 MAKEBLOCK1 0
+ 19 RAISE
+ 20 ATOM0
+ 21 SETGLOBAL T080-eq
+ 23 STOP
+**)