summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/lexical-check-5.js
blob: 78b1ece661cd60f4aec712c0397719cd26724250 (plain)
1
2
3
4
5
6
7
// |jit-test| error: ReferenceError

{
  for (var i = 0; i < 100; i++)
    a += i;
  let a = 1;
}