summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug658212.js
blob: e462770b562356f5f574755aca46cdad36dd3683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var gTestcases = Array;
function TestCase(n, d, e, a) {
    this.description = d
    gTestcases[gTc] = this
}
TestCase.prototype.dump=function () { return +  +  +
          + this.description +  +
               +  + '\n';
};
function printStatus (msg) {
  return function toPrinted(value) {
  };
}
function reportCompare(expected, actual, description) {
    new TestCase("unknown-test-name", description, expected, actual)
}
gTc = 0;;
function jsTestDriverEnd() {
    for (var i = 0; i < gTestcases.length; i++)
    gTestcases[i].dump()
}
var summary = 'Do not assert with try/finally inside finally';
var expect = 'No Crash';
reportCompare(expect, printStatus, summary);
jsTestDriverEnd();
jsTestDriverEnd();
try {
    f
} catch (ex) {
    actual = ''
}
reportCompare(expect, actual, 5);
jsTestDriverEnd()