swc/crates/swc_ecma_parser/tests/tsc/classAbstractMergedDeclaration.ts

40 lines
509 B
TypeScript

abstract class CM {}
module CM {}
module MC {}
abstract class MC {}
abstract class CI {}
interface CI {}
interface IC {}
abstract class IC {}
abstract class CC1 {}
class CC1 {}
class CC2 {}
abstract class CC2 {}
declare abstract class DCI {}
interface DCI {}
interface DIC {}
declare abstract class DIC {}
declare abstract class DCC1 {}
declare class DCC1 {}
declare class DCC2 {}
declare abstract class DCC2 {}
new CM;
new MC;
new CI;
new IC;
new CC1;
new CC2;
new DCI;
new DIC;
new DCC1;
new DCC2;