summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast')
-rw-r--r--test/exception-handling.wast6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exception-handling.wast b/test/exception-handling.wast
index 642856f03..93dbe41ba 100644
--- a/test/exception-handling.wast
+++ b/test/exception-handling.wast
@@ -2,7 +2,7 @@
(tag $e-i32 (param i32))
(tag $e-i64 (param i64))
(tag $e-i32-i64 (param i32 i64))
- (tag $e-anyref (param anyref))
+ (tag $e-funcref (param funcref))
(tag $e-empty)
(func $foo)
@@ -330,9 +330,9 @@
(try
(do)
- (catch $e-anyref
+ (catch $e-funcref
(drop
- (pop funcref) ;; pop can be subtype
+ (pop anyref) ;; pop can be supertype
)
)
)