blob: 19e91acd0047d4b24284ad14657ed799e81e1bfe [file] [log] [blame]
description(
"This tests that bytecode generation doesn't crash on a comparison to null with an ignored result."
);
function equalToNullTest(a)
{
a == null;
return true;
}
shouldBeTrue("equalToNullTest()");
function notEqualToNullTest(a)
{
a != null;
return true;
}
shouldBeTrue("notEqualToNullTest()");