summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/jaeger/bug600424.js
blob: e59a06614f210224039335c15d45c4d6ca5ae090 (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(a) {
    var x = {
        g: function () {
            return this.a;
        }
    };
    x.g.prototype.a = a;
    assertEq(x.g.prototype.a, a);
    return x;
}
f(1);
f(2);
f(3);