;;; TOOL: wat2wasm
;;; ARGS: --enable-exceptions
(module
  (tag $e1 (param i32))
  (tag $e2 (param i32 i32))

  ;; multiple catch clauses ending with catch_all
  (func
    try
      nop
    catch $e1
      drop
    catch $e2
      drop
      drop
    catch_all
    end)
)
