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

7 lines
90 B
TypeScript

// break is not allowed in a switch statement
switch (12) {
case 5:
break;
}