summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1368360-1.js
blob: 9df4a0a06b3cd90d347ba433893e1a31e939cdc5 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: ReferenceError
var t = {};
function r(y) { return t.y = y; }
function g() {
    for (let [x = r(x)] of x) {}
}
r(0);
r(0);
g();