summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testInvertNullAfterNegateNull.js
blob: 7e6a12b05f82737e21f83d4ebbb0e699e0723ed3 (plain)
1
2
3
4
5
6
7
function testInvertNullAfterNegateNull()
{
  for (var i = 0; i < 5; i++) !null;
  for (var i = 0; i < 5; i++) -null;
  return "no assertion";
}
assertEq(testInvertNullAfterNegateNull(), "no assertion");