summaryrefslogtreecommitdiff
path: root/test/spec/ref_func.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/ref_func.wast')
-rw-r--r--test/spec/ref_func.wast3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/spec/ref_func.wast b/test/spec/ref_func.wast
index 79bf584be..f68e6166d 100644
--- a/test/spec/ref_func.wast
+++ b/test/spec/ref_func.wast
@@ -5,8 +5,7 @@
(func $f (import "M" "f") (param i32) (result i32))
(func $g (param $x i32) (result i32) (i32.add (local.get $x) (i32.const 1)))
- (global externref (ref.func $f))
- (global externref (ref.func $g))
+ (global externref (ref.null extern))
(global funcref (ref.func $f))
(global funcref (ref.func $g))
(global $v (mut funcref) (ref.func $f))