| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % -f wasm1 |
| 2 |
|
| 3 |
(assert_invalid |
| 4 |
(module (rec)) |
| 5 |
"requires `gc` proposal to be enabled") |
| 6 |
|
| 7 |
(assert_invalid |
| 8 |
(module (rec (type (func)))) |
| 9 |
"requires `gc` proposal to be enabled") |
| 10 |
|
| 11 |
(assert_invalid |
| 12 |
(module (rec (type (func)) (type (func)))) |
| 13 |
"requires `gc` proposal to be enabled") |
| 14 |
|
| 15 |
(assert_invalid |
| 16 |
(module (type $t (func (param (ref $t))))) |
| 17 |
"reference types support is not enabled") |
| 18 |
|
| 19 |
(assert_invalid |
| 20 |
(module (type $t (sub (func)))) |
| 21 |
"gc proposal must be enabled") |
| 22 |
|
| 23 |
(assert_invalid |
| 24 |
(module (type $t (func)) (type (sub $t (func)))) |
| 25 |
"gc proposal must be enabled") |