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

4 lines
47 B
TypeScript

// @target: es6
function* foo() {
yield*foo
}