=== tests/cases/compiler/es6ModuleFunctionDeclaration.ts ===
export function foo() {
>foo : Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))
}
function foo2() {
>foo2 : Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))
}
foo();
>foo : Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))

foo2();
>foo2 : Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))

export module m1 {
>m1 : Symbol(m1, Decl(es6ModuleFunctionDeclaration.ts, 5, 7))

    export function foo3() {
>foo3 : Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
    }
    function foo4() {
>foo4 : Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 9, 5))
    }
    foo();
>foo : Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))

    foo2();
>foo2 : Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))

    foo3();
>foo3 : Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))

    foo4();
>foo4 : Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 9, 5))
}
module m2 {
>m2 : Symbol(m2, Decl(es6ModuleFunctionDeclaration.ts, 16, 1))

    export function foo3() {
>foo3 : Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 17, 11))
    }
    function foo4() {
>foo4 : Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 19, 5))
    }
    foo();
>foo : Symbol(foo, Decl(es6ModuleFunctionDeclaration.ts, 0, 0))

    foo2();
>foo2 : Symbol(foo2, Decl(es6ModuleFunctionDeclaration.ts, 1, 1))

    foo3();
>foo3 : Symbol(foo3, Decl(es6ModuleFunctionDeclaration.ts, 17, 11))

    foo4();
>foo4 : Symbol(foo4, Decl(es6ModuleFunctionDeclaration.ts, 19, 5))

    m1.foo3();
>m1.foo3 : Symbol(m1.foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
>m1 : Symbol(m1, Decl(es6ModuleFunctionDeclaration.ts, 5, 7))
>foo3 : Symbol(m1.foo3, Decl(es6ModuleFunctionDeclaration.ts, 7, 18))
}
