summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/class/staticConstructor.js
blob: bd79c22005238080ba7af5f27f228dda933a01e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class testBasic {
    constructor() { }
    static constructor() { }
}

class testWithExtends extends null {
    constructor() { };
    static constructor() { };
}

class testOrder {
    static constructor() { };
    constructor() { };
}

class testOrderWithExtends extends null {
    static constructor() { };
    constructor() { };
}

if (typeof reportCompare === "function")
    reportCompare(0,0,"OK");