summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/globalGet.js
blob: 53d73a6f6094bc32a81b071619818c3a1f9be789 (plain)
1
2
3
4
5
6
globalName = 907;
var globalInt = 0;
for (var i = 0; i < 500; i++)
  globalInt = globalName + i;

assertEq(globalInt, globalName + 499);