diff options
Diffstat (limited to 'test/heap-types.wast')
-rw-r--r-- | test/heap-types.wast | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/heap-types.wast b/test/heap-types.wast index 94138276a..e06d1dff6 100644 --- a/test/heap-types.wast +++ b/test/heap-types.wast @@ -188,6 +188,7 @@ (if (ref.is_i31 (local.get $x)) (unreachable)) ) (func $ref.as_X (param $x anyref) + (drop (ref.as_non_null (local.get $x))) (drop (ref.as_func (local.get $x))) (drop (ref.as_data (local.get $x))) (drop (ref.as_i31 (local.get $x))) |