summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/generators/bug1462353.js
blob: 9140a38339f3abfdab76e879358a13dae672ef83 (plain)
1
2
3
4
5
6
7
8
9
10
11
class Base {}
class Derived extends Base {
    constructor() {
        var fun = async() => {
            for (var i = 0; i < 20; i++) {} // Trigger OSR.
            super();
        };
        fun();
    }
}
d = new Derived();