mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 06:54:26 +03:00
workaround for #282
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user