js/src/jit-test/tests/ion/bug787921.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:ad277f5a7f6d
1 // |jit-test| error: InternalError: too much recursion
2 function TestCase(n, d, e, a) {
3 this.bugnumber = typeof(BUGNUMER) != 'undefined' ? BUGNUMBER : '';
4 this.type = (typeof window == 'undefined' ? 'shell' : 'browser');
5 gTestcases[gTc++] = this;
6 if (optionName) {}
7 {} {} {} // Seems to be required to crash
8 }
9 function f() {}
10 function g(n, h) {
11 var t = g(TestCase.toSource());
12 }
13 g(80, f);

mercurial