summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-08-03 12:12:24 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-09-07 09:54:53 -0700
commitf30d9f6cde023b29409f73aba68f472c06c3b11c (patch)
tree79f6744bdc406bb0b076fe0f4a1ec52ee5f575eb /test/example/c-api-kitchen-sink.c
parent72616971b2a35cbc37ea974e47c870556ef8ef4d (diff)
downloadbinaryen-f30d9f6cde023b29409f73aba68f472c06c3b11c.tar.gz
binaryen-f30d9f6cde023b29409f73aba68f472c06c3b11c.tar.bz2
binaryen-f30d9f6cde023b29409f73aba68f472c06c3b11c.zip
loops no longer have an out label and other upstream loop updates
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r--test/example/c-api-kitchen-sink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index d22a30e9c..f60b62785 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -185,9 +185,8 @@ void test_core() {
BinaryenBlock(module, NULL, NULL, 0), // block with no name
BinaryenIf(module, temp1, temp2, temp3),
BinaryenIf(module, temp4, temp5, NULL),
- BinaryenLoop(module, "out", "in", makeInt32(module, 0)),
- BinaryenLoop(module, NULL, "in2", makeInt32(module, 0)),
- BinaryenLoop(module, NULL, NULL, makeInt32(module, 0)),
+ BinaryenLoop(module, "in", makeInt32(module, 0)),
+ BinaryenLoop(module, NULL, makeInt32(module, 0)),
BinaryenBreak(module, "the-value", temp6, temp7),
BinaryenBreak(module, "the-nothing", makeInt32(module, 2), NULL),
BinaryenBreak(module, "the-value", NULL, makeInt32(module, 3)),