aboutsummaryrefslogtreecommitdiff
const_pragma: {
    options = {
        evaluate: true,
        reduce_funcs: true,
        reduce_vars: true,
    }

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

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

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