summaryrefslogtreecommitdiff
path: root/test/lit/passes/jspi-args.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-05-17 09:42:58 -0700
committerGitHub <noreply@github.com>2023-05-17 16:42:58 +0000
commit071431bac6269ff8bcfa95194c94446314a2394d (patch)
tree455511db1f4c934d205b9b55ba3e568057e52dce /test/lit/passes/jspi-args.wast
parentaab5f274773f4e1567b02e6950b4d22119cf801d (diff)
downloadbinaryen-071431bac6269ff8bcfa95194c94446314a2394d.tar.gz
binaryen-071431bac6269ff8bcfa95194c94446314a2394d.tar.bz2
binaryen-071431bac6269ff8bcfa95194c94446314a2394d.zip
Print function types on function imports in the text format (#5727)
The function type should be printed there just like for non-imported functions.
Diffstat (limited to 'test/lit/passes/jspi-args.wast')
-rw-r--r--test/lit/passes/jspi-args.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/jspi-args.wast b/test/lit/passes/jspi-args.wast
index e915f02c0..c99acdd41 100644
--- a/test/lit/passes/jspi-args.wast
+++ b/test/lit/passes/jspi-args.wast
@@ -7,9 +7,9 @@
;; CHECK: (type $externref_f64_=>_i32 (func (param externref f64) (result i32)))
- ;; CHECK: (import "js" "sleep_sync" (func $sleep_sync (param f64) (result i32)))
+ ;; CHECK: (import "js" "sleep_sync" (func $sleep_sync (type $f64_=>_i32) (param f64) (result i32)))
(import "js" "sleep_async" (func $sleep_async (param f64) (result i32)))
- ;; CHECK: (import "js" "sleep_async" (func $import$sleep_async (param externref f64) (result i32)))
+ ;; CHECK: (import "js" "sleep_async" (func $import$sleep_async (type $externref_f64_=>_i32) (param externref f64) (result i32)))
(import "js" "sleep_sync" (func $sleep_sync (param f64) (result i32)))
;; CHECK: (global $suspender (mut externref) (ref.null noextern))