summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug766064.js
blob: cd13f1f674b29281685e940254f6b883c113bdd1 (plain)
1
2
3
4
5
6
7
function loop(actual = 0)  {
  if (function() { actual++ })
  {}
  return actual;
}

assertEq(loop(), 0);