diff options
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocaml/t071-boolnot.ml')
| -rw-r--r-- | ocaml-binary-annot/testsuite/tests/tool-ocaml/t071-boolnot.ml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocaml/t071-boolnot.ml b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t071-boolnot.ml new file mode 100644 index 0000000000..b4a81943c6 --- /dev/null +++ b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t071-boolnot.ml @@ -0,0 +1,19 @@ +open Lib;; +if not true then raise Not_found;; + +(** + 0 CONSTINT 42 + 2 PUSHACC0 + 3 MAKEBLOCK1 0 + 5 POP 1 + 7 SETGLOBAL Lib + 9 CONST1 + 10 BOOLNOT + 11 BRANCHIFNOT 18 + 13 GETGLOBAL Not_found + 15 MAKEBLOCK1 0 + 17 RAISE + 18 ATOM0 + 19 SETGLOBAL T071-boolnot + 21 STOP +**) |
