tests/cli/missing-features/multi-value-function-block-type.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % -f wasm1 |
| 2 | |
| 3 | (assert_invalid |
| 4 | (module binary |
| 5 | "\00\61\73\6d" |
| 6 | "\01\00\00\00" |
| 7 | "\01\05" |
| 8 | "\01" |
| 9 | "\60\00\01\7f" |
| 10 | "\03\02" |
| 11 | "\01" |
| 12 | "\00" |
| 13 | "\0a\09" |
| 14 | "\01" |
| 15 | "\07" |
| 16 | "\00" |
| 17 | "\02\00" |
| 18 | "\41\00" |
| 19 | "\0b" |
| 20 | "\0b" |
| 21 | ) |
| 22 | "blocks, loops, and ifs may only produce a resulttype when multi-value is not enabled") |