diff options
Diffstat (limited to 'ocaml-binary-annot/testsuite/tests/tool-ocaml/t092-pushacc0.ml')
| -rw-r--r-- | ocaml-binary-annot/testsuite/tests/tool-ocaml/t092-pushacc0.ml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ocaml-binary-annot/testsuite/tests/tool-ocaml/t092-pushacc0.ml b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t092-pushacc0.ml new file mode 100644 index 0000000000..ffdc3b0404 --- /dev/null +++ b/ocaml-binary-annot/testsuite/tests/tool-ocaml/t092-pushacc0.ml @@ -0,0 +1,22 @@ +open Lib;; +let x = false in +if x then raise Not_found +;; + +(** + 0 CONSTINT 42 + 2 PUSHACC0 + 3 MAKEBLOCK1 0 + 5 POP 1 + 7 SETGLOBAL Lib + 9 CONST0 + 10 PUSHACC0 + 11 BRANCHIFNOT 18 + 13 GETGLOBAL Not_found + 15 MAKEBLOCK1 0 + 17 RAISE + 18 POP 1 + 20 ATOM0 + 21 SETGLOBAL T092-pushacc0 + 23 STOP +**) |
