Sign in
chromium
/
external
/
github.com
/
WebAssembly
/
wabt
/
refs/heads/github_sanitizers
/
.
/
test
/
parse
/
expr
/
try.txt
blob: 354b401795afc98198c4ca1c6e3b3e15e023d9d9 [
file
] [
edit
]
;;; TOOL: wat2wasm
;;; ARGS: --enable-exceptions
(module
;; bare
(func
try
nop
catch
drop
end)
;; with label
(func
try $foo
nop
catch
drop
end)
;; with result type
(func
try (result i32)
i32.const 1
catch
drop
i32.const 2
end
drop))