summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/hello_world.fromasm.imprecise.no-opts')
-rw-r--r--test/hello_world.fromasm.imprecise.no-opts7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/hello_world.fromasm.imprecise.no-opts b/test/hello_world.fromasm.imprecise.no-opts
index 435e41a60..31ce2e573 100644
--- a/test/hello_world.fromasm.imprecise.no-opts
+++ b/test/hello_world.fromasm.imprecise.no-opts
@@ -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 $x i32) (param $y i32) (result i32)
(return
(i32.add