summaryrefslogtreecommitdiff
path: root/test/lit/passes/heap2local.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/heap2local.wast')
-rw-r--r--test/lit/passes/heap2local.wast5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit/passes/heap2local.wast b/test/lit/passes/heap2local.wast
index 9f0807b3b..efca63028 100644
--- a/test/lit/passes/heap2local.wast
+++ b/test/lit/passes/heap2local.wast
@@ -3,10 +3,15 @@
;; RUN: wasm-opt %s -all --remove-unused-names --heap2local -S -o - | filecheck %s
(module
+ ;; CHECK: (type $struct.A (struct (field (mut i32)) (field (mut f64))))
(type $struct.A (struct (field (mut i32)) (field (mut f64))))
+ ;; CHECK: (type $struct.recursive (struct (field (mut (ref null $struct.recursive)))))
+ ;; CHECK: (type $struct.nonnullable (struct (field (ref $struct.A))))
+ ;; CHECK: (type $struct.packed (struct (field (mut i8))))
(type $struct.packed (struct (field (mut i8))))
+ ;; CHECK: (type $struct.nondefaultable (struct (field (rtt $struct.A))))
(type $struct.nondefaultable (struct (field (rtt $struct.A))))
(type $struct.recursive (struct (field (mut (ref null $struct.recursive)))))