summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug604381.js
blob: 3ca01cb362341b979d95125dd7a4599ad67a3fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// vim: set ts=8 sts=4 et sw=4 tw=99:

function F() {
    var T = { };
    try {
        throw 12;
    } catch (e) {
        T.x = 5;
        return T;
    }
}

assertEq((new F()).x, 5);