summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bitwiseGlobal.js
blob: e8967c12b8045df5a97a9973441b15872a97f8bd (plain)
1
2
3
4
5
6
7
8
bitwiseAndValue = Math.pow(2,32);
for (var i = 0; i < 60000; i++)
  bitwiseAndValue = bitwiseAndValue & i;

assertEq(bitwiseAndValue, 0);