tests/cli/folding/fold-throw.wast
raw| 1 | ;; RUN: wast --assert default,snapshot-folded --snapshot tests/snapshots % |
| 2 | |
| 3 | ;;; WABT fold-throw.wat test (Copyright 2016- WebAssembly Community Group participants) |
| 4 | (module |
| 5 | (tag $e0 (param i32)) |
| 6 | (tag $e1 (param f32 i32)) |
| 7 | |
| 8 | (func i32.const 1 throw $e0) |
| 9 | (func f32.const 2 i32.const 1 throw $e1)) |