//// [duplicateAnonymousModuleClasses.ts]
module F {

    class Helper {

    }

}


module F {
    
    // Should not be an error
    class Helper {

    }

}

module Foo {

    class Helper {

    }

}


module Foo {
    
    // Should not be an error
    class Helper {

    }

}

module Gar {
    module Foo {

        class Helper {

        }

    }


    module Foo {
    
        // Should not be an error
        class Helper {

        }

    }
}


//// [duplicateAnonymousModuleClasses.js]
var F;
(function (F) {
    var Helper = (function () {
        function Helper() {
        }
        return Helper;
    })();
})(F || (F = {}));
var F;
(function (F) {
    // Should not be an error
    var Helper = (function () {
        function Helper() {
        }
        return Helper;
    })();
})(F || (F = {}));
var Foo;
(function (Foo) {
    var Helper = (function () {
        function Helper() {
        }
        return Helper;
    })();
})(Foo || (Foo = {}));
var Foo;
(function (Foo) {
    // Should not be an error
    var Helper = (function () {
        function Helper() {
        }
        return Helper;
    })();
})(Foo || (Foo = {}));
var Gar;
(function (Gar) {
    var Foo;
    (function (Foo) {
        var Helper = (function () {
            function Helper() {
            }
            return Helper;
        })();
    })(Foo || (Foo = {}));
    var Foo;
    (function (Foo) {
        // Should not be an error
        var Helper = (function () {
            function Helper() {
            }
            return Helper;
        })();
    })(Foo || (Foo = {}));
})(Gar || (Gar = {}));
