diff options
Diffstat (limited to 'test/spec')
-rw-r--r-- | test/spec/convert_extern.wast | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/spec/convert_extern.wast b/test/spec/convert_extern.wast index 36254bc4a..443bc8956 100644 --- a/test/spec/convert_extern.wast +++ b/test/spec/convert_extern.wast @@ -5,7 +5,15 @@ (ref.null (shared noextern)) ) ) + + (func $shared-null-rev (export "shared-null-rev") (result (ref null (shared extern))) + ;; As before, but the reverse conversion. + (extern.convert_any + (ref.null (shared any)) + ) + ) ) (assert_return (invoke "shared-null") (ref.null (shared any))) +(assert_return (invoke "shared-null-rev") (ref.null (shared extern))) |