blob: b0b28618958afad5b38b1049ff61e6c9e531285d [file] [log] [blame]
//@ runBigIntEnabled
function fooAdd()
{
return (1n+1n) / 1;
}
function fooSub()
{
return (1n-1n) / 1;
}
function fooMul()
{
return (1n*1n) / 1;
}
function fooDiv()
{
return (1n/1n) / 1;
}
for (var i = 0; i < 10000 ; ++i) {
try {
fooAdd()
} catch {}
try {
fooSub()
} catch {}
try {
fooMul()
} catch {}
try {
fooDiv()
} catch {}
}