summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-15 17:26:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-15 17:26:54 -0700
commita0156dbc900c642dd9f1b8f44ab13c06ff2e8fb9 (patch)
tree361ccaaafc58b632e22927a34b729763b06bb333 /test/emcc_hello_world.fromasm
parentc68e1ebb0c63f427400230cd71e46dd7629b735f (diff)
downloadbinaryen-a0156dbc900c642dd9f1b8f44ab13c06ff2e8fb9.tar.gz
binaryen-a0156dbc900c642dd9f1b8f44ab13c06ff2e8fb9.tar.bz2
binaryen-a0156dbc900c642dd9f1b8f44ab13c06ff2e8fb9.zip
add explicit memory export support
Diffstat (limited to 'test/emcc_hello_world.fromasm')
-rw-r--r--test/emcc_hello_world.fromasm1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/emcc_hello_world.fromasm b/test/emcc_hello_world.fromasm
index bda303906..3a02d7b62 100644
--- a/test/emcc_hello_world.fromasm
+++ b/test/emcc_hello_world.fromasm
@@ -1,5 +1,6 @@
(module
(memory 256 256)
+ (export "memory" memory)
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$id (func (param f64) (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))