| ;;; TOOL: run-roundtrip | |
| ;;; ARGS: --stdout --fold-exprs --enable-exceptions | |
| (module | |
| (tag $e0 (param i32)) | |
| (func | |
| try | |
| catch $e0 | |
| rethrow 0 | |
| end | |
| ) | |
| ) | |
| (;; STDOUT ;;; | |
| (module | |
| (type (;0;) (func (param i32))) | |
| (type (;1;) (func)) | |
| (func (;0;) (type 1) | |
| (try ;; label = @1 | |
| (do) | |
| (catch 0 | |
| (rethrow 0 (;@1;))))) | |
| (tag (;0;) (type 0) (param i32))) | |
| ;;; STDOUT ;;) |