summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r--test/heap-types.wast.fromBinary13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index 537096fe0..315d30d38 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -88,6 +88,19 @@
(local.get $x)
(i32.const 100)
)
+ (drop
+ (struct.new_default_with_rtt ${i32_f32_f64}
+ (rtt.canon ${i32_f32_f64})
+ )
+ )
+ (drop
+ (struct.new_with_rtt ${i32_f32_f64}
+ (rtt.canon ${i32_f32_f64})
+ (i32.const 1)
+ (f32.const 2.3450000286102295)
+ (f64.const 3.14159)
+ )
+ )
(unreachable)
)
(func $rtt-param-with-depth (param $rtt (rtt 1 ${}))