summaryrefslogtreecommitdiff
path: root/test/table-import.wast.fromBinary
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-11-01 13:34:53 -0700
committerGitHub <noreply@github.com>2018-11-01 13:34:53 -0700
commit77c66027f0dcbd7160f78c5de4943372836ab142 (patch)
tree582c3f937247c14b773e9364d5a901d9db9bcfdd /test/table-import.wast.fromBinary
parent7d3ddd09d5f68945160cda3f3749a217a13928bf (diff)
downloadbinaryen-77c66027f0dcbd7160f78c5de4943372836ab142.tar.gz
binaryen-77c66027f0dcbd7160f78c5de4943372836ab142.tar.bz2
binaryen-77c66027f0dcbd7160f78c5de4943372836ab142.zip
Emit imports before defined things in text format (#1715)
That is the correct order in the text format, wabt errors otherwise. See AssemblyScript/assemblyscript#310
Diffstat (limited to 'test/table-import.wast.fromBinary')
-rw-r--r--test/table-import.wast.fromBinary4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/table-import.wast.fromBinary b/test/table-import.wast.fromBinary
index 45b74a109..495ccc7dc 100644
--- a/test/table-import.wast.fromBinary
+++ b/test/table-import.wast.fromBinary
@@ -1,8 +1,8 @@
(module
(type $0 (func))
- (memory $0 0)
- (import "env" "table" (table 1 1 anyfunc))
+ (import "env" "table" (table $timport$0 1 1 anyfunc))
(elem (i32.const 0) $foo)
+ (memory $0 0)
(func $foo (; 0 ;) (type $0)
(nop)
)