blob: 6c3700c2aa509683f4e8248889555d9b8cdb6dda [file] [log] [blame]
//@ requireOptions("--maxPerThreadStackUsage=1572864")
function foo(a, b, c) {
try {
throw new Error();
} catch {
hello();
}
};
function Bar(d, e) {
hello();
}
function hello(f) {
new Bar(0);
};
var exception;
try {
foo();
} catch(e) {
exception = e;
}
if (exception != "RangeError: Maximum call stack size exceeded.")
throw "FAILED";