diff options
author | Thomas Lively <tlively@google.com> | 2024-01-30 15:13:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 15:13:40 -0800 |
commit | 8504571fb7209d07670a06c42a868bbfc954c756 (patch) | |
tree | 8431cd49e3f24794bff2488cd3491eea4dd824d7 /test/lit | |
parent | 8b85d5dfd22c56ea9a54df37219492ad3b6d5605 (diff) | |
download | binaryen-8504571fb7209d07670a06c42a868bbfc954c756.tar.gz binaryen-8504571fb7209d07670a06c42a868bbfc954c756.tar.bz2 binaryen-8504571fb7209d07670a06c42a868bbfc954c756.zip |
[Parser] Parse start declarations (#6256)
Diffstat (limited to 'test/lit')
-rw-r--r-- | test/lit/wat-kitchen-sink.wast | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/lit/wat-kitchen-sink.wast b/test/lit/wat-kitchen-sink.wast index 680468935..4e4c3639c 100644 --- a/test/lit/wat-kitchen-sink.wast +++ b/test/lit/wat-kitchen-sink.wast @@ -432,11 +432,15 @@ (export "exported-global" (global $g1)) (export "exported-tag" (tag 0)) + ;; start function + ;; CHECK: (export "exported-tag" (tag $imported)) + + ;; CHECK: (start $return-none) + (start $return-none) + ;; functions (func) - ;; CHECK: (export "exported-tag" (tag $imported)) - ;; CHECK: (func $2 (type $void) ;; CHECK-NEXT: (nop) ;; CHECK-NEXT: ) |