summaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/Oz_fuzz-exec_all-features.wast4
-rw-r--r--test/passes/duplicate-function-elimination_all-features.wast2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/Oz_fuzz-exec_all-features.wast b/test/passes/Oz_fuzz-exec_all-features.wast
index 94bc2aa3c..a07e7e3d7 100644
--- a/test/passes/Oz_fuzz-exec_all-features.wast
+++ b/test/passes/Oz_fuzz-exec_all-features.wast
@@ -275,12 +275,12 @@
(func "cast-on-func"
(call $log (i32.const 0))
;; a valid cast
- (call_ref $void_func
+ (call_ref
(ref.cast_static $void_func (ref.func $a-void-func))
)
(call $log (i32.const 1))
;; an invalid cast
- (drop (call_ref $int_func
+ (drop (call_ref
(ref.cast_static $int_func (ref.func $a-void-func))
))
;; will never be reached
diff --git a/test/passes/duplicate-function-elimination_all-features.wast b/test/passes/duplicate-function-elimination_all-features.wast
index df8d26b6f..1d04e878c 100644
--- a/test/passes/duplicate-function-elimination_all-features.wast
+++ b/test/passes/duplicate-function-elimination_all-features.wast
@@ -34,7 +34,7 @@
(unreachable)
)
(func "export" (result i32)
- (call_ref $func
+ (call_ref
(global.get $global$0)
)
)