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

6 lines
58 B
TypeScript

// @target: es6
class C {
*foo() {
yield(foo);
}
}