//// [tests/cases/compiler/augmentedTypesModules3.ts] ////

=== augmentedTypesModules3.ts ===
//// module then class
namespace m3 { }
>m3 : Symbol(m3, Decl(augmentedTypesModules3.ts, 0, 0), Decl(augmentedTypesModules3.ts, 1, 16))

class m3 { } // ok since the module is not instantiated
>m3 : Symbol(m3, Decl(augmentedTypesModules3.ts, 0, 0), Decl(augmentedTypesModules3.ts, 1, 16))

namespace m3a { var y = 2; }
>m3a : Symbol(m3a, Decl(augmentedTypesModules3.ts, 2, 12), Decl(augmentedTypesModules3.ts, 4, 28))
>y : Symbol(y, Decl(augmentedTypesModules3.ts, 4, 19))

class m3a { foo() { } } // error, class isn't ambient or declared before the module
>m3a : Symbol(m3a, Decl(augmentedTypesModules3.ts, 2, 12), Decl(augmentedTypesModules3.ts, 4, 28))
>foo : Symbol(m3a.foo, Decl(augmentedTypesModules3.ts, 5, 11))

