=== tests/cases/compiler/moduleAndInterfaceSharingName.ts ===
module X {
>X : Symbol(X, Decl(moduleAndInterfaceSharingName.ts, 0, 0))

    export module Y {
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName.ts, 0, 10), Decl(moduleAndInterfaceSharingName.ts, 3, 5))

        export interface Z { }
>Z : Symbol(Z, Decl(moduleAndInterfaceSharingName.ts, 1, 21))
    }
    export interface Y { }
>Y : Symbol(Y, Decl(moduleAndInterfaceSharingName.ts, 0, 10), Decl(moduleAndInterfaceSharingName.ts, 3, 5))
}
var z: X.Y.Z = null;
>z : Symbol(z, Decl(moduleAndInterfaceSharingName.ts, 6, 3))
>X : Symbol(X, Decl(moduleAndInterfaceSharingName.ts, 0, 0))
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName.ts, 0, 10), Decl(moduleAndInterfaceSharingName.ts, 3, 5))
>Z : Symbol(X.Y.Z, Decl(moduleAndInterfaceSharingName.ts, 1, 21))

var z2: X.Y;
>z2 : Symbol(z2, Decl(moduleAndInterfaceSharingName.ts, 7, 3))
>X : Symbol(X, Decl(moduleAndInterfaceSharingName.ts, 0, 0))
>Y : Symbol(X.Y, Decl(moduleAndInterfaceSharingName.ts, 0, 10), Decl(moduleAndInterfaceSharingName.ts, 3, 5))

