summaryrefslogtreecommitdiff
path: root/test/example
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/example
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/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 5c6400ce5..983c80d90 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -2213,7 +2213,7 @@ BinaryenFeatureAll: 126975
(i32.const 42)
)
(drop
- (array.len $[mut:i8]
+ (array.len
(global.get $i8Array-global)
)
)