summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1368360-2.js
blob: ff617fb76b4524930657e8d222a85a053b719552 (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)] in x) {}
}
r(0);
r(0);
g();