summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/name.js
blob: 92b76d0225373d0c79963d152cadd3183effd3ee (plain)
1
2
3
4
5
6
7
8
9
globalName = 907;
function name()
{
  var a = 0;
  for (var i = 0; i < 100; i++)
    a = globalName;
  return a;
}
assertEq(name(), 907);