summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-16.js
blob: 2bb173c8a3957413978aa87968e516502289bf49 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: ReferenceError

let m = parseModule(`
var i = 0;
addThis();
function addThis()
  statusmessages[i] = Number;
`);
m.declarationInstantiation();
m.evaluation();