summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-rw-r--r--test/example/c-api-kitchen-sink.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 26e3b820f..d366a3c7f 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -21,10 +21,10 @@ BinaryenFloat64: 4
(start $starter)
(func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32)
(local $4 i32)
- (block $the-body i32
+ (block $the-body (result i32)
(block $the-nothing
(drop
- (block $the-value i32
+ (block $the-value (result i32)
(drop
(i32.clz
(i32.const -10)
@@ -415,12 +415,12 @@ BinaryenFloat64: 4
)
)
(drop
- (loop $in i32
+ (loop $in (result i32)
(i32.const 0)
)
)
(drop
- (loop i32
+ (loop (result i32)
(i32.const 0)
)
)
@@ -1411,10 +1411,10 @@ int main() {
(start $starter)
(func "$kitchen()sinker" (type $iiIfF) (param $0 i32) (param $1 i64) (param $2 f32) (param $3 f64) (result i32)
(local $4 i32)
- (block $the-body i32
+ (block $the-body (result i32)
(block $the-nothing
(drop
- (block $the-value i32
+ (block $the-value (result i32)
(drop
(i32.clz
(i32.const -10)
@@ -1805,12 +1805,12 @@ int main() {
)
)
(drop
- (loop $in i32
+ (loop $in (result i32)
(i32.const 0)
)
)
(drop
- (loop i32
+ (loop (result i32)
(i32.const 0)
)
)