| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
(assert_malformed |
| 4 |
(module quote |
| 5 |
"(func block (type 2))" |
| 6 |
) |
| 7 |
"control frames remain at end of function body or expression") |
| 8 |
|
| 9 |
(assert_invalid |
| 10 |
(module |
| 11 |
(func block (type 2) end) |
| 12 |
) |
| 13 |
"type index out of bounds") |