summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.from-wast
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-18 13:54:22 -0500
committerGitHub <noreply@github.com>2022-10-18 13:54:22 -0500
commit8377174c3bb56b58cda054b3210799439004e229 (patch)
tree0d172db76ef1409b4c2e4134a39e1418dfbb52fc /test/heap-types.wast.from-wast
parent6bef18672fae68ee4976a7b26f277f6caa32734f (diff)
downloadbinaryen-8377174c3bb56b58cda054b3210799439004e229.tar.gz
binaryen-8377174c3bb56b58cda054b3210799439004e229.tar.bz2
binaryen-8377174c3bb56b58cda054b3210799439004e229.zip
Parse and emit `array.len` without a type annotation (#5151)
Test that we can still parse the old annotated form as well.
Diffstat (limited to 'test/heap-types.wast.from-wast')
-rw-r--r--test/heap-types.wast.from-wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/heap-types.wast.from-wast b/test/heap-types.wast.from-wast
index 4994857e2..dc41451cd 100644
--- a/test/heap-types.wast.from-wast
+++ b/test/heap-types.wast.from-wast
@@ -150,7 +150,7 @@
)
)
(drop
- (array.len $vector
+ (array.len
(local.get $x)
)
)
@@ -383,7 +383,7 @@
)
(func $unreachables-array-6
(drop
- (array.len array
+ (array.len
(unreachable)
)
)