summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-03-03 19:53:26 +0000
committerGitHub <noreply@github.com>2021-03-03 11:53:26 -0800
commit11ec03ce930121736655769b9bbccaae0280b64c (patch)
tree969ca4dc33027f8054789103c908906f5c00cf6c /test/heap-types.wast.fromBinary
parenta5e5be42cf32e0232ef7a4c3bce67c289623eea6 (diff)
downloadbinaryen-11ec03ce930121736655769b9bbccaae0280b64c.tar.gz
binaryen-11ec03ce930121736655769b9bbccaae0280b64c.tar.bz2
binaryen-11ec03ce930121736655769b9bbccaae0280b64c.zip
[Wasm GC] Parse text field names even of types that end up canonicalized together (#3647)
Names of structurally identical types end up "collapsed" together after the types are canonicalized, but with this PR we can properly read content that has structurally identical types with different names.
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r--test/heap-types.wast.fromBinary5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index 62590b5f7..90e129511 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -52,6 +52,11 @@
)
)
(drop
+ (struct.get $struct.A $named
+ (ref.null $struct.A)
+ )
+ )
+ (drop
(struct.get_u $struct.B 0
(local.get $tB)
)