summaryrefslogtreecommitdiff
path: root/test/merge/main-lacks-segments.wast.toMerge
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/main-lacks-segments.wast.toMerge')
-rw-r--r--test/merge/main-lacks-segments.wast.toMerge10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/merge/main-lacks-segments.wast.toMerge b/test/merge/main-lacks-segments.wast.toMerge
index 63c2c3a3a..a35c605db 100644
--- a/test/merge/main-lacks-segments.wast.toMerge
+++ b/test/merge/main-lacks-segments.wast.toMerge
@@ -2,12 +2,12 @@
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "memory" (memory $0 256))
- (import "env" "table" (table 0 anyfunc))
- (elem (get_global $tableBase) $foo)
- (data (get_global $memoryBase) "hello, this is some data!")
+ (import "env" "table" (table 0 funcref))
+ (elem (global.get $tableBase) $foo)
+ (data (global.get $memoryBase) "hello, this is some data!")
(func $foo
- (drop (get_global $tableBase))
- (drop (get_global $memoryBase))
+ (drop (global.get $tableBase))
+ (drop (global.get $memoryBase))
)
)