summaryrefslogtreecommitdiff
path: root/test/wasm2js/dynamicLibrary.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/dynamicLibrary.wast')
-rw-r--r--test/wasm2js/dynamicLibrary.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wasm2js/dynamicLibrary.wast b/test/wasm2js/dynamicLibrary.wast
index 28175633c..f8f95456b 100644
--- a/test/wasm2js/dynamicLibrary.wast
+++ b/test/wasm2js/dynamicLibrary.wast
@@ -4,10 +4,11 @@
(import "env" "memory" (memory $import$memory 256 256))
(import "env" "memoryBase" (global $import$memoryBase i32))
+ (import "env" "tableBase" (global $import$tableBase i32))
+
(data (global.get $import$memoryBase) "dynamic data")
(table 10 10 funcref)
- (import "env" "tableBase" (global $import$tableBase i32))
(elem (global.get $import$tableBase) $foo $bar)
(export "baz" (func $baz))