summaryrefslogtreecommitdiff
path: root/test/stacky.wasm.fromBinary
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-06-12 16:50:28 -0700
committerGitHub <noreply@github.com>2017-06-12 16:50:28 -0700
commit68dc2eddc24844c7582cafa85afeb4023a47888f (patch)
treefcaedc839420fe43c555166420865d5aeef0dbfa /test/stacky.wasm.fromBinary
parent93c65f98b7a9b0977578dbf55778529efec646f1 (diff)
downloadbinaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.gz
binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.tar.bz2
binaryen-68dc2eddc24844c7582cafa85afeb4023a47888f.zip
Support new result syntax for if/loop/block (#1047)
Support both syntax formats in input since the old spec tests still need to be parsable.
Diffstat (limited to 'test/stacky.wasm.fromBinary')
-rw-r--r--test/stacky.wasm.fromBinary2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stacky.wasm.fromBinary b/test/stacky.wasm.fromBinary
index 89de2948b..375e216a2 100644
--- a/test/stacky.wasm.fromBinary
+++ b/test/stacky.wasm.fromBinary
@@ -5,7 +5,7 @@
(func $0 (type $0) (param $var$0 i32) (param $var$1 i32) (result i32)
(local $2 i32)
(i32.add
- (block i32
+ (block (result i32)
(set_local $2
(get_local $var$0)
)