diff options
Diffstat (limited to 'test/lit/ctor-eval/shared-i31.wast')
-rw-r--r-- | test/lit/ctor-eval/shared-i31.wast | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lit/ctor-eval/shared-i31.wast b/test/lit/ctor-eval/shared-i31.wast index 2c1d8da59..fe79ce412 100644 --- a/test/lit/ctor-eval/shared-i31.wast +++ b/test/lit/ctor-eval/shared-i31.wast @@ -17,6 +17,15 @@ (i32.const 42) ) ) + ;; Also externalizing and internalizing works: this code can be precomputed + ;; and hence removed. + (drop + (any.convert_extern + (extern.convert_any + (global.get $global) + ) + ) + ) (global.get $global) ) |