summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt8
-rw-r--r--test/example/c-api-kitchen-sink.txt.txt4
2 files changed, 9 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 6544f9f33..574be4965 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -408,7 +408,9 @@ BinaryenFloat64: 4
)
(if
(i32.const 4)
- (i32.const 5)
+ (drop
+ (i32.const 5)
+ )
)
(drop
(loop $in
@@ -1999,7 +2001,9 @@ int main() {
)
(if
(i32.const 4)
- (i32.const 5)
+ (drop
+ (i32.const 5)
+ )
)
(drop
(loop $in
diff --git a/test/example/c-api-kitchen-sink.txt.txt b/test/example/c-api-kitchen-sink.txt.txt
index b37814f89..991c8738c 100644
--- a/test/example/c-api-kitchen-sink.txt.txt
+++ b/test/example/c-api-kitchen-sink.txt.txt
@@ -403,7 +403,9 @@
)
(if
(i32.const 4)
- (i32.const 5)
+ (drop
+ (i32.const 5)
+ )
)
(drop
(loop $in