summaryrefslogtreecommitdiff
path: root/test/ctor-eval/gc-array.wast
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/ctor-eval/gc-array.wast
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/ctor-eval/gc-array.wast')
-rw-r--r--test/ctor-eval/gc-array.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ctor-eval/gc-array.wast b/test/ctor-eval/gc-array.wast
index 316230e13..0ad3d0314 100644
--- a/test/ctor-eval/gc-array.wast
+++ b/test/ctor-eval/gc-array.wast
@@ -5,7 +5,7 @@
;; This global will remain as it is.
(global $global1 (ref $array)
- (array.new_fixed $array
+ (array.new_fixed $array 4
(i32.const 10)
(i32.const 20)
(i32.const 30)
@@ -14,7 +14,7 @@
)
(global $global2 (ref $array)
- (array.new_fixed $array
+ (array.new_fixed $array 2
(i32.const 42)
;; This location will be written with a new value, 1337
(i32.const 0)