summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-03 14:32:28 -0800
committerGitHub <noreply@github.com>2024-01-03 14:32:28 -0800
commit1878403ec9c4382ab51ca72257f4d97a23a1fc0d (patch)
treec879fbe5bb6809498d136e41826bbc72e516ac0e /test
parent328bd7a7d6cce32e893c5839b95574f8a3d8bd9a (diff)
downloadbinaryen-1878403ec9c4382ab51ca72257f4d97a23a1fc0d.tar.gz
binaryen-1878403ec9c4382ab51ca72257f4d97a23a1fc0d.tar.bz2
binaryen-1878403ec9c4382ab51ca72257f4d97a23a1fc0d.zip
[Parser] Go back to "sub final" intead of "sub open" (#6199)
The planned spec change to use "sub open" never came together, so the standard format remains "sub final".
Diffstat (limited to 'test')
-rw-r--r--test/lit/wat-kitchen-sink.wast10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast
index 775a0a139..479a8412d 100644
--- a/test/lit/wat-kitchen-sink.wast
+++ b/test/lit/wat-kitchen-sink.wast
@@ -29,7 +29,7 @@
;; CHECK: (rec
;; CHECK-NEXT: (type $s0 (struct ))
- (type $s0 (sub (struct)))
+ (type $s0 (struct))
;; CHECK: (type $s1 (struct ))
(type $s1 (struct (field)))
)
@@ -198,17 +198,17 @@
(type $any-array (array (mut anyref)))
(rec
- (type $void (sub open (func)))
+ (type $void (sub (func)))
)
;; CHECK: (type $subvoid (sub final $void (func)))
- (type $subvoid (sub $void (func)))
+ (type $subvoid (sub final $void (func)))
- (type $many (sub open (func (param $x i32) (param i64 f32) (param) (param $y f64)
+ (type $many (sub (func (param $x i32) (param i64 f32) (param) (param $y f64)
(result anyref (ref func)))))
;; CHECK: (type $submany (sub final $many (func (param i32 i64 f32 f64) (result anyref (ref func)))))
- (type $submany (sub $many (func (param i32 i64 f32 f64) (result anyref (ref func)))))
+ (type $submany (sub final $many (func (param i32 i64 f32 f64) (result anyref (ref func)))))
;; imported memories
(memory (export "mem") (export "mem2") (import "" "mem") 0)