summaryrefslogtreecommitdiff
path: root/test/lit/passes
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-03-03 08:05:03 -0800
committerGitHub <noreply@github.com>2023-03-03 16:05:03 +0000
commitdc8f514bfa4617861b51b6cef23af73464d3b650 (patch)
tree18ebd30693bcf3ea37dedc25895e0fdcb9d52ec7 /test/lit/passes
parent9042f84e213c843d85a90c39ee3006a4d5e4c7a1 (diff)
downloadbinaryen-dc8f514bfa4617861b51b6cef23af73464d3b650.tar.gz
binaryen-dc8f514bfa4617861b51b6cef23af73464d3b650.tar.bz2
binaryen-dc8f514bfa4617861b51b6cef23af73464d3b650.zip
getHeapTypeCounts() must note select types for references (#5540)
Without this we hit an assertion on trying to write the binary, on a missing heap type.
Diffstat (limited to 'test/lit/passes')
-rw-r--r--test/lit/passes/gufa-vs-cfp.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/gufa-vs-cfp.wast b/test/lit/passes/gufa-vs-cfp.wast
index 0a678af4f..a2fb8f5df 100644
--- a/test/lit/passes/gufa-vs-cfp.wast
+++ b/test/lit/passes/gufa-vs-cfp.wast
@@ -679,12 +679,12 @@
;; Subtyping: Create both a subtype and a supertype, with identical constants
;; for the shared field, and get the supertype.
(module
+ ;; CHECK: (type $struct (struct (field i32)))
+ (type $struct (struct i32))
;; CHECK: (type $none_=>_i32 (func (result i32)))
;; CHECK: (type $none_=>_none (func))
- ;; CHECK: (type $struct (struct (field i32)))
- (type $struct (struct i32))
;; CHECK: (type $substruct (struct_subtype (field i32) (field f64) $struct))
(type $substruct (struct_subtype i32 f64 $struct))