summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocaml/t092-pushacc0.ml
blob: 756304df102ec485382831b5eba3e402a81e953d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
**)