summaryrefslogtreecommitdiff
path: root/test/export-import.wast.fromBinary
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/export-import.wast.fromBinary
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/export-import.wast.fromBinary')
-rw-r--r--test/export-import.wast.fromBinary2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/export-import.wast.fromBinary b/test/export-import.wast.fromBinary
index d73486e08..37a701e07 100644
--- a/test/export-import.wast.fromBinary
+++ b/test/export-import.wast.fromBinary
@@ -1,7 +1,7 @@
(module
(type $v (func))
(import "env" "test2" (global $test2 i32))
- (import "env" "test1" (func $test1))
+ (import "env" "test1" (func $test1 (type $v)))
(export "test1" (func $test1))
(export "test2" (global $test2))
)