summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-19 13:34:58 -0600
committerGitHub <noreply@github.com>2023-01-19 11:34:58 -0800
commit1e4d215f085316f01d1530e857640fe746517f0f (patch)
treeb8e84bd8430c87f09a38e5cd2938d2b674c2409d
parent9956bd3895741c09964f0d92bbcebe9131f15f88 (diff)
downloadbinaryen-1e4d215f085316f01d1530e857640fe746517f0f.tar.gz
binaryen-1e4d215f085316f01d1530e857640fe746517f0f.tar.bz2
binaryen-1e4d215f085316f01d1530e857640fe746517f0f.zip
Fix type merging test broken by semantic merge conflict (#5443)
-rw-r--r--test/lit/passes/type-merging.wast12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lit/passes/type-merging.wast b/test/lit/passes/type-merging.wast
index 6be3b05ee..4a58ca2d0 100644
--- a/test/lit/passes/type-merging.wast
+++ b/test/lit/passes/type-merging.wast
@@ -261,10 +261,10 @@
(module
(rec
- ;; CHECK: (rec
- ;; CHECK-NEXT: (type $A (struct (field (ref null $A))))
(type $A (struct (ref null $X)))
(type $B (struct_subtype (ref null $Y) $A))
+ ;; CHECK: (rec
+ ;; CHECK-NEXT: (type $X (struct (field (ref null $X))))
(type $X (struct (ref null $A)))
(type $Y (struct_subtype (ref null $B) $X))
)
@@ -272,10 +272,10 @@
;; CHECK: (type $none_=>_none (func))
;; CHECK: (func $foo (type $none_=>_none)
- ;; CHECK-NEXT: (local $a (ref null $A))
- ;; CHECK-NEXT: (local $b (ref null $A))
- ;; CHECK-NEXT: (local $x (ref null $A))
- ;; CHECK-NEXT: (local $y (ref null $A))
+ ;; CHECK-NEXT: (local $a (ref null $X))
+ ;; CHECK-NEXT: (local $b (ref null $X))
+ ;; CHECK-NEXT: (local $x (ref null $X))
+ ;; CHECK-NEXT: (local $y (ref null $X))
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: )
(func $foo