2015-05-11 23:17:34 +02:00
|
|
|
// @module: system
|
2015-05-20 21:02:52 +02:00
|
|
|
// @isolatedModules: true
|
2015-05-11 23:17:34 +02:00
|
|
|
|
|
|
|
declare function use(a: any);
|
|
|
|
const enum TopLevelConstEnum { X }
|
|
|
|
|
|
|
|
export function foo() {
|
|
|
|
use(TopLevelConstEnum.X);
|
|
|
|
use(M.NonTopLevelConstEnum.X);
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
export const enum NonTopLevelConstEnum { X }
|
|
|
|
}
|