tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(7,18): error TS2507: Type 'undefined' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(8,18): error TS2507: Type 'boolean' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(9,18): error TS2507: Type 'boolean' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(10,18): error TS2507: Type 'number' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(11,18): error TS2507: Type 'string' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(12,18): error TS2507: Type '{}' is not a constructor function type.
tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts(13,18): error TS2507: Type '() => void' is not a constructor function type.


==== tests/cases/conformance/classes/classDeclarations/classExtendingNonConstructor.ts (7 errors) ====
    var x: {};
    
    function foo() {
        this.x = 1;
    }
    
    class C1 extends undefined { }
                     ~~~~~~~~~
!!! error TS2507: Type 'undefined' is not a constructor function type.
    class C2 extends true { }
                     ~~~~
!!! error TS2507: Type 'boolean' is not a constructor function type.
    class C3 extends false { }
                     ~~~~~
!!! error TS2507: Type 'boolean' is not a constructor function type.
    class C4 extends 42 { }
                     ~~
!!! error TS2507: Type 'number' is not a constructor function type.
    class C5 extends "hello" { }
                     ~~~~~~~
!!! error TS2507: Type 'string' is not a constructor function type.
    class C6 extends x { }
                     ~
!!! error TS2507: Type '{}' is not a constructor function type.
    class C7 extends foo { }
                     ~~~
!!! error TS2507: Type '() => void' is not a constructor function type.
    