swc/crates/swc_ecma_parser/tests/tsc/classStaticBlock18.ts
2022-02-04 17:08:38 +09:00

16 lines
220 B
TypeScript

// @target: esnext, es2022, es2015, es5
function foo () {
return class {
static foo = 1;
static {
const c = class {
static bar = 2;
static {
// do
}
}
}
}
}