blob: 78559090b67b325d6b7cfb93feecf6dd21f610c0 [file] [log] [blame]
//@ skip if $architecture != "arm64" and $architecture != "x86-64"
//@ runDefault("--earlyReturnFromInfiniteLoopsLimit=10", "--returnEarlyFromInfiniteLoopsForFuzzing=1", "--watchdog=1000", "--watchdog-exception-ok")
let o = {
get value() {
for (let i=0; i<1; i++) {}
}
};
let iter = {
[Symbol.iterator]() {
return {
next() {
return o;
}
}
}
};
[...iter];