summaryrefslogtreecommitdiff
path: root/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.wast
blob: 047d9c12667b2164bb25d3170af38c1cf2bb9b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(module
  (event $e0 (attr 0) (param i32))

  (func $eh
    (try
      (do
        (throw $e0 (i32.const 0))
      )
      (catch $e0
        (drop (pop i32))
        (rethrow 0)
      )
      (catch_all
        (rethrow 0)
      )
    )
  )
)