tests/cli/missing-features/mutable-global-disabled.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % -f mvp |
| 2 | |
| 3 | (assert_invalid |
| 4 | (module |
| 5 | (import "m0" "g0" (global (mut i32))) |
| 6 | ) |
| 7 | "mutable global support is not enabled" |
| 8 | ) |
| 9 | |
| 10 | (assert_invalid |
| 11 | (module |
| 12 | (global $g0 (mut i32) (i32.const 0)) |
| 13 | (export "g0" (global $g0)) |
| 14 | ) |
| 15 | "mutable global support is not enabled" |
| 16 | ) |