summaryrefslogtreecommitdiff
path: root/test/hello_world.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2016-09-28 17:38:44 -0700
committerGitHub <noreply@github.com>2016-09-28 17:38:44 -0700
commit2234cc7374797d188761916f6b1e82ce9ade1fa3 (patch)
tree293a9ddc5392b4a8ce7fdfaf48b9071463433c47 /test/hello_world.wast.fromBinary.noDebugInfo
parent345b04253dcf7d42dcefabdec4e4b0edc3a3ca44 (diff)
downloadbinaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.tar.gz
binaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.tar.bz2
binaryen-2234cc7374797d188761916f6b1e82ce9ade1fa3.zip
Print the name of memory along with size (#720)
Otherwise when we export it as "$0" it's an undefined name. The spec interpreter actually rejects this, although I think it's intended to work, given the tests in export.wast. wabt also accepts it.
Diffstat (limited to 'test/hello_world.wast.fromBinary.noDebugInfo')
-rw-r--r--test/hello_world.wast.fromBinary.noDebugInfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello_world.wast.fromBinary.noDebugInfo b/test/hello_world.wast.fromBinary.noDebugInfo
index 3fc88d9fd..b71cddfcb 100644
--- a/test/hello_world.wast.fromBinary.noDebugInfo
+++ b/test/hello_world.wast.fromBinary.noDebugInfo
@@ -1,5 +1,5 @@
(module
- (memory 256 256)
+ (memory $0 256 256)
(type $0 (func (param i32 i32) (result i32)))
(export "add" (func $0))
(func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32)