summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
authorJérôme Vouillon <jerome.vouillon@gmail.com>2023-08-23 22:47:33 +0200
committerGitHub <noreply@github.com>2023-08-23 13:47:33 -0700
commit6dad9fb15130515bc7eed60270263f3d8269b60f (patch)
tree3c5f9982b014d870a3a87d19fa63cf015c7197d6 /test/example
parentf6867f9a485c125dcd2914f58e2636f01879db7b (diff)
downloadbinaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.tar.gz
binaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.tar.bz2
binaryen-6dad9fb15130515bc7eed60270263f3d8269b60f.zip
Use the standard syntax for ref.cast, ref.test and array.new_fixed (#5894)
* Update text output for `ref.cast` and `ref.test` * Update text output for `array.new_fixed` * Update tests with new syntax for `ref.cast` and `ref.test` * Update tests with new `array.new_fixed` syntax
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index edcc0b91e..00880f0db 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -2260,12 +2260,12 @@ BinaryenFeatureAll: 126975
)
)
(drop
- (ref.test null $[mut:i8]
+ (ref.test (ref null $[mut:i8])
(global.get $i8Array-global)
)
)
(drop
- (ref.cast null $[mut:i8]
+ (ref.cast (ref null $[mut:i8])
(global.get $i8Array-global)
)
)
@@ -2298,7 +2298,7 @@ BinaryenFeatureAll: 126975
)
)
(drop
- (array.new_fixed $[mut:i8]
+ (array.new_fixed $[mut:i8] 3
(i32.const 1)
(i32.const 2)
(i32.const 3)