12 lines
220 B
Text
12 lines
220 B
Text
=== tests/cases/conformance/statements/breakStatements/invalidSwitchBreakStatement.ts ===
|
|
// break is not allowed in a switch statement
|
|
|
|
switch (12) {
|
|
>12 : number
|
|
|
|
case 5:
|
|
>5 : number
|
|
|
|
break;
|
|
}
|
|
|