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

16 lines
220 B
TypeScript
Raw Normal View History

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