summaryrefslogtreecommitdiff
path: root/test/merge/global-init.wast.combined.finalized
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/merge/global-init.wast.combined.finalized
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/merge/global-init.wast.combined.finalized')
-rw-r--r--test/merge/global-init.wast.combined.finalized2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/merge/global-init.wast.combined.finalized b/test/merge/global-init.wast.combined.finalized
index 87e21a05e..89c969ea4 100644
--- a/test/merge/global-init.wast.combined.finalized
+++ b/test/merge/global-init.wast.combined.finalized
@@ -1,7 +1,7 @@
(module
(import "env" "memory" (memory $0 256))
(data (i32.const 1024) "")
- (import "env" "table" (table 8 anyfunc))
+ (import "env" "table" (table $0 8 anyfunc))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(import "env" "globally" (global $i-collide i32))