summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug787921.js
blob: 7cf4af70406161b0e582f3ae18ef3d013be6c8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error: InternalError: too much recursion
function TestCase(n, d, e, a) {
  this.bugnumber = typeof(BUGNUMER) != 'undefined' ? BUGNUMBER : '';
  this.type = (typeof window == 'undefined' ? 'shell' : 'browser');
  gTestcases[gTc++] = this;
  if (optionName) {}
  {} {} {} // Seems to be required to crash
}
function f() {}
function g(n, h) {
    var t = g(TestCase.toSource());
}
g(80, f);