workaround for #282

This commit is contained in:
Fabrice Bellard
2025-04-10 17:38:28 +02:00
parent 7adeb5c56e
commit 9918c1206e
2 changed files with 26 additions and 2 deletions

View File

@@ -371,6 +371,16 @@ function test_try_catch8()
assert(s === "xafyaf");
}
function test_cyclic_labels()
{
/* just check that it compiles without a crash */
for (;;) {
l: break l;
l: break l;
l: break l;
}
}
test_while();
test_while_break();
test_do_while();