summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/hello_world.fromasm.imprecise')
-rw-r--r--test/hello_world.fromasm.imprecise7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/hello_world.fromasm.imprecise b/test/hello_world.fromasm.imprecise
index 66f728c52..6bfc4bf68 100644
--- a/test/hello_world.fromasm.imprecise
+++ b/test/hello_world.fromasm.imprecise
@@ -1,7 +1,10 @@
(module
(memory 256 256)
- (export "memory" memory)
- (export "add" $add)
+ (import "env" "memory" (memory $memory))
+ (import "env" "table" (table $table))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (export "add" (func $add))
(func $add (param $0 i32) (param $1 i32) (result i32)
(i32.add
(get_local $0)