summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-nonfunction-module-elements_all-features.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-nonfunction-module-elements_all-features.txt')
-rw-r--r--test/passes/remove-unused-nonfunction-module-elements_all-features.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt
index a767fccb1..28391b50d 100644
--- a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt
+++ b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt
@@ -107,8 +107,8 @@
(module
(type $none_=>_none (func))
(import "env" "memory" (memory $0 256))
- (data (i32.const 1) "hello, world!")
(import "env" "table" (table $timport$0 1 funcref))
+ (data (i32.const 1) "hello, world!")
(elem (i32.const 0) $waka)
(func $waka
(nop)
@@ -222,10 +222,10 @@
(module
(type $none_=>_none (func))
(import "env" "memory" (memory $0 256))
- (data (global.get $memoryBase) "hello, world!")
(import "env" "table" (table $timport$0 0 funcref))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
+ (data (global.get $memoryBase) "hello, world!")
(elem (global.get $tableBase) $waka)
(func $waka
(nop)