mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
402 B
TypeScript
19 lines
402 B
TypeScript
//// [tests/cases/conformance/statements/continueStatements/invalidSwitchContinueStatement.ts] ////
|
|
|
|
//// [invalidSwitchContinueStatement.ts]
|
|
// continue is not allowed in a switch statement
|
|
|
|
switch (12) {
|
|
case 5:
|
|
continue;
|
|
}
|
|
|
|
|
|
//// [invalidSwitchContinueStatement.js]
|
|
"use strict";
|
|
// continue is not allowed in a switch statement
|
|
switch (12) {
|
|
case 5:
|
|
continue;
|
|
}
|