summaryrefslogtreecommitdiff
path: root/test/push_pop.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'test/push_pop.wast.fromBinary.noDebugInfo')
-rw-r--r--test/push_pop.wast.fromBinary.noDebugInfo25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/push_pop.wast.fromBinary.noDebugInfo b/test/push_pop.wast.fromBinary.noDebugInfo
index 52db1d5fb..64d6d4abd 100644
--- a/test/push_pop.wast.fromBinary.noDebugInfo
+++ b/test/push_pop.wast.fromBinary.noDebugInfo
@@ -1,12 +1,20 @@
(module
+ (type $none_=>_none (func))
(type $none_=>_i32 (func (result i32)))
(type $none_=>_i64 (func (result i64)))
(type $none_=>_f32 (func (result f32)))
(type $none_=>_f64 (func (result f64)))
+ (type $none_=>_funcref (func (result funcref)))
+ (type $none_=>_anyref (func (result anyref)))
+ (type $none_=>_exnref (func (result exnref)))
(export "ppi32" (func $0))
(export "ppi64" (func $1))
(export "ppf32" (func $2))
(export "ppf64" (func $3))
+ (export "ppanyref" (func $4))
+ (export "ppfuncref" (func $5))
+ (export "ppnullref" (func $6))
+ (export "ppexnref" (func $7))
(func $0 (; 0 ;) (result i32)
(i32.const 1)
)
@@ -19,5 +27,22 @@
(func $3 (; 3 ;) (result f64)
(f64.const 1)
)
+ (func $4 (; 4 ;) (result anyref)
+ (local $0 anyref)
+ (local.get $0)
+ )
+ (func $5 (; 5 ;) (result funcref)
+ (local $0 funcref)
+ (local.get $0)
+ )
+ (func $6 (; 6 ;)
+ (drop
+ (ref.null)
+ )
+ )
+ (func $7 (; 7 ;) (result exnref)
+ (local $0 exnref)
+ (local.get $0)
+ )
)