summaryrefslogtreecommitdiff
path: root/test/passes/duplicate-function-elimination.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/duplicate-function-elimination.wast')
-rw-r--r--test/passes/duplicate-function-elimination.wast12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/duplicate-function-elimination.wast b/test/passes/duplicate-function-elimination.wast
index 2a01d61ec..b79032155 100644
--- a/test/passes/duplicate-function-elimination.wast
+++ b/test/passes/duplicate-function-elimination.wast
@@ -464,12 +464,12 @@
(table 2 2 anyfunc)
(elem (i32.const 0) $erase $other)
(func $erase (type $T)
- (call_indirect $T
+ (call_indirect (type $T)
(i32.const 0)
)
)
(func $other (type $T)
- (call_indirect $T
+ (call_indirect (type $T)
(i32.const 0)
)
)
@@ -480,12 +480,12 @@
(table 2 2 anyfunc)
(elem (i32.const 0) $keep2 $other)
(func $keep2 (type $T)
- (call_indirect $T
+ (call_indirect (type $T)
(i32.const 0)
)
)
(func $other (type $T)
- (call_indirect $T
+ (call_indirect (type $T)
(i32.const 1)
)
)
@@ -497,12 +497,12 @@
(table 2 2 anyfunc)
(elem (i32.const 0) $keep2 $other)
(func $keep2 (type $T)
- (call_indirect $T
+ (call_indirect (type $T)
(i32.const 0)
)
)
(func $other (type $T)
- (call_indirect $S
+ (call_indirect (type $S)
(i32.const 0)
)
)