mirror of https://github.com/tc39/test262.git
15 lines
638 B
JavaScript
15 lines
638 B
JavaScript
//@ requireOptions("--useProbeOSRExit=true", "--forceEagerCompilation=true")
|
|
|
|
// This test passes if it does not crash especially on ASAN builds.
|
|
|
|
let x = 0;
|
|
function Foo(a) {
|
|
a === a;
|
|
'' + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x + x;
|
|
}
|
|
|
|
for (let i=0; i<8; i++)
|
|
new Foo(0);
|
|
|
|
new Foo({});
|