tests/cli/missing-features/component-model/types.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % -f=-simd,-reference-types,-gc |
| 2 | |
| 3 | (assert_invalid |
| 4 | (component |
| 5 | (core type (func (param v128))) |
| 6 | ) |
| 7 | "SIMD support is not enabled") |
| 8 | |
| 9 | (assert_invalid |
| 10 | (component |
| 11 | (core type (func (param (ref 0)))) |
| 12 | ) |
| 13 | "unknown type 0: type index out of bounds") |
| 14 | |
| 15 | (assert_invalid |
| 16 | (component |
| 17 | (core type (func)) |
| 18 | (core type (func (param (ref 0)))) |
| 19 | ) |
| 20 | "reference types support is not enabled") |