summaryrefslogtreecommitdiff
path: root/test/passes/precompute_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/precompute_all-features.wast')
-rw-r--r--test/passes/precompute_all-features.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passes/precompute_all-features.wast b/test/passes/precompute_all-features.wast
index 633787fad..f6ad267f2 100644
--- a/test/passes/precompute_all-features.wast
+++ b/test/passes/precompute_all-features.wast
@@ -1,5 +1,6 @@
(module
- (memory (data "hello!") 512 512)
+ (memory $m 512 512)
+ (data (memory $m) (i32.const 0) "hello!")
(type $0 (func (param i32)))
(global $global i32 (i32.const 1))
(global $global-mut (mut i32) (i32.const 2))