;;; TOOL: wat-desugar ;;; FLAGS: --enable-exceptions (module (import "c++" "except" (except $ex i32)) (func (result i32) (try $try1 (result i32) (nop) (i32.const 7) (catch $ex (nop) ) (catch_all (rethrow $try1) ) ) ) ) (;; STDOUT ;;; (module (import "c++" "except" (except $ex i32)) (func (;0;) (result i32) try $try1 (result i32) nop i32.const 7 catch $ex nop catch_all rethrow $try1 end) (type (;0;) (func (result i32)))) ;;; STDOUT ;;)