aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1041.js
blob: cc3514059442bf1f70cfc86fcb3357847a8014f5 (about) (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
const_pragma: {
    options = {
        evaluate: true,
        reduce_vars: true,
    };

    input: {
        /** @const */ var goog = goog || {};
    }
    expect: {
        var goog = goog || {};
    }
}

// for completeness' sake
not_const: {
    options = {
        evaluate: true,
        reduce_vars: true,
    };

    input: {
        var goog = goog || {};
    }
    expect: {
        var goog = goog || {};
    }
}