summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug738841.js
blob: 3429aea5b35c4232077f54cc3a1dc4b9dda9c384 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
try {
    for (let z = 0; z < 1; ++evalcx("[]", newGlobal())) {}
} catch (e) {}
try {
    for (y in [schedulegc(58)]) {
        b
    }
} catch (e) {}
try {
    e
} catch (e) {}
try {
    (function() {
        h
    }())
} catch (e) {}
try {
    (function() {
        this.m.f = function() {}
    }())
} catch (e) {}
try {
    t()
} catch (e) {}
try {
    p
} catch (e) {}
try {
    gc()
    p
} catch (e) {}
try {
    (function() {
        for (var v of m) {}
    }())
} catch (e) {}
try {
    m
} catch (e) {}
try {
    var f = function() {
        {
            print(new function(q) { return ("", s); })
            let u
        }
    };
    dis(f);
    f();
} catch (e) {}