summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.txt
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-12-21 11:47:48 -0600
committerGitHub <noreply@github.com>2022-12-21 09:47:48 -0800
commit49fb2e23bb3c932389f23fdda33a32d034ca9a0c (patch)
treefbe18fa7d4809a59a0d9577fb723bf1873d8adeb /test/example/c-api-kitchen-sink.txt
parent94a45c6aba605f0f7e0a2fac227a2dd7c03a391f (diff)
downloadbinaryen-49fb2e23bb3c932389f23fdda33a32d034ca9a0c.tar.gz
binaryen-49fb2e23bb3c932389f23fdda33a32d034ca9a0c.tar.bz2
binaryen-49fb2e23bb3c932389f23fdda33a32d034ca9a0c.zip
Support `ref.test null` (#5368)
This new variant of ref.test returns 1 if the input is null.
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-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 41f96c184..1ee529eb3 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -2165,7 +2165,7 @@ BinaryenFeatureAll: 126975
)
)
(drop
- (ref.test $[mut:i8]
+ (ref.test null $[mut:i8]
(global.get $i8Array-global)
)
)