blob: a4733f0f4ce733d045722c0bf90f7af82418471b [file] [log] [blame] [edit]
//@ skip if $memoryLimited || $buildType == "debug" || $cloop
//@ runDefault("--returnEarlyFromInfiniteLoopsForFuzzing=1")
//@ slow!
// This test needs 3 seconds to reproduce the crash.
function foo() {
let a=0;
while(1) a++;
}
for (let i=0; i<10; i++) {
runString(`${foo.toString()};foo();foo();`);
}
gc();