summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-20 19:38:21 -0500
committerGitHub <noreply@github.com>2022-10-21 00:38:21 +0000
commit884fe9bcee0a7aa10a427d76bd317bb136258dc6 (patch)
treef26a2b9bcd38148eee4257ab715a4783818c0436 /test
parent7144c922f1cd19a4c55c603c7f57f224e9ec4975 (diff)
downloadbinaryen-884fe9bcee0a7aa10a427d76bd317bb136258dc6.tar.gz
binaryen-884fe9bcee0a7aa10a427d76bd317bb136258dc6.tar.bz2
binaryen-884fe9bcee0a7aa10a427d76bd317bb136258dc6.zip
[Parser] Parse shared memory declarations (#5173)
Diffstat (limited to 'test')
-rw-r--r--test/lit/wat-kitchen-sink.wast8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast
index 2504de0cf..8f5af0d81 100644
--- a/test/lit/wat-kitchen-sink.wast
+++ b/test/lit/wat-kitchen-sink.wast
@@ -108,10 +108,10 @@
(global $i32 i32 i32.const 42)
;; memories
- ;; CHECK: (memory $mem 1 1)
- (memory $mem 1 1)
- (memory 0)
- ;; CHECK: (memory $0 0)
+ ;; CHECK: (memory $mem (shared 1 1))
+ (memory $mem 1 1 shared)
+ (memory 0 1 shared)
+ ;; CHECK: (memory $0 (shared 0 1))
;; CHECK: (memory $mem-i32 0 1)
(memory $mem-i32 i32 0 1)