Debian Codegraph @

tests/cli/missing-features/v128-without-simd-feature.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots % -f wasm1
2
3 (assert_invalid
4 (module (func (param v128)))
5 "SIMD support is not enabled")
6 (assert_invalid
7 (module (type (func (param v128))))
8 "SIMD support is not enabled")
9 (assert_invalid
10 (module (type (func (result v128))))
11 "SIMD support is not enabled")
12 (assert_invalid
13 (module (import "" "" (global v128)))
14 "SIMD support is not enabled")
15 (assert_invalid
16 (module (import "" "" (global (mut v128))))
17 "SIMD support is not enabled")
18 (assert_invalid
19 (module (global v128 v128.const i64x2 0 0))
20 "SIMD support is not enabled")
21 (assert_invalid
22 (module (func block (result v128) end))
23 "SIMD support is not enabled")