summaryrefslogtreecommitdiff
path: root/test/lit/passes/optimize-instructions-gc-iit.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/optimize-instructions-gc-iit.wast')
-rw-r--r--test/lit/passes/optimize-instructions-gc-iit.wast7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lit/passes/optimize-instructions-gc-iit.wast b/test/lit/passes/optimize-instructions-gc-iit.wast
index 5409e14c4..c0d84ab1c 100644
--- a/test/lit/passes/optimize-instructions-gc-iit.wast
+++ b/test/lit/passes/optimize-instructions-gc-iit.wast
@@ -3,12 +3,19 @@
;; RUN: | filecheck %s
(module
+ ;; CHECK: (type $parent (struct (field i32)))
(type $parent (struct (field i32)))
+ ;; CHECK: (type $child (struct (field i32) (field f64)))
(type $child (struct (field i32) (field f64)))
+ ;; CHECK: (type $other (struct (field i64) (field f32)))
(type $other (struct (field i64) (field f32)))
+ ;; CHECK: (func $foo
+ ;; CHECK-NEXT: (nop)
+ ;; CHECK-NEXT: )
(func $foo)
+
;; CHECK: (func $ref-cast-iit (param $parent (ref $parent)) (param $child (ref $child)) (param $other (ref $other)) (param $parent-rtt (rtt $parent)) (param $child-rtt (rtt $child)) (param $other-rtt (rtt $other))
;; CHECK-NEXT: (drop
;; CHECK-NEXT: (block (result (ref $parent))