tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck60.ts(2,22): error TS1163: A 'yield' expression is only allowed in a generator body.


==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck60.ts (1 errors) ====
    function* g() {
        class C extends (yield) {};
                         ~~~~~
!!! error TS1163: A 'yield' expression is only allowed in a generator body.
    }