summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-08-31 16:53:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-07 09:55:58 -0700
commite62f54d9d38e8f6b999d5f18f052424b7d603b6b (patch)
tree6e9af7b90a6563cfe15db6ab6325e8eb345a9e4c /test/hello_world.fromasm.no-opts
parentf1c74afc64d9f195729e1ad7e203f27566248e26 (diff)
downloadbinaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.tar.gz
binaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.tar.bz2
binaryen-e62f54d9d38e8f6b999d5f18f052424b7d603b6b.zip
new import syntax in spec repo
Diffstat (limited to 'test/hello_world.fromasm.no-opts')
-rw-r--r--test/hello_world.fromasm.no-opts8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/hello_world.fromasm.no-opts b/test/hello_world.fromasm.no-opts
index 1bd263d54..8ee9fb664 100644
--- a/test/hello_world.fromasm.no-opts
+++ b/test/hello_world.fromasm.no-opts
@@ -1,9 +1,9 @@
(module
(memory 256 256)
- (import $memory memory "env" "memory")
- (import $table table "env" "table")
- (import $memoryBase global "env" "memoryBase" i32)
- (import $tableBase global "env" "tableBase" i32)
+ (import "env" "memory" (memory $memory))
+ (import "env" "table" (table $table))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
(export "add" $add)
(func $add (param $x i32) (param $y i32) (result i32)
(return