summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testOverOOMInFixupArity.js
blob: 1b81d84ec00e4c7018463b3a8fd05c9198449cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function foo() {
    bar(1,2,3,4,5,6,7,8,9);
}

function bar() {
    foo(1,2,3,4,5,6,7,8,9);
}

var caught = false;
try {
    foo();
} catch (e) {
    caught = true;
}
assertEq(caught, true);