mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
237 B
Plaintext
12 lines
237 B
Plaintext
//// [tests/cases/conformance/statements/breakStatements/invalidSwitchBreakStatement.ts] ////
|
|
|
|
=== invalidSwitchBreakStatement.ts ===
|
|
|
|
// break is not allowed in a switch statement
|
|
|
|
switch (12) {
|
|
case 5:
|
|
break;
|
|
}
|
|
|