diff options
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 5 |
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)), |