//// [nonExportedElementsOfMergedModules.ts]
module One {
    enum A { X }
    module B {
        export var x;
    }
}

module One {
    enum A { Y }
    module B {
        export var y;
    }
    B.x;
    B.y;
}


//// [nonExportedElementsOfMergedModules.js]
var One;
(function (One) {
    var A;
    (function (A) {
        A[A["X"] = 0] = "X";
    })(A || (A = {}));
    var B;
    (function (B) {
    })(B || (B = {}));
})(One || (One = {}));
(function (One) {
    var A;
    (function (A) {
        A[A["Y"] = 0] = "Y";
    })(A || (A = {}));
    var B;
    (function (B) {
    })(B || (B = {}));
    B.x;
    B.y;
})(One || (One = {}));
