21 lines
No EOL
276 B
TypeScript
21 lines
No EOL
276 B
TypeScript
//@noUnusedLocals:true
|
|
//@noUnusedParameters:true
|
|
|
|
switch (1) {
|
|
case 0:
|
|
let x;
|
|
break;
|
|
case 1:
|
|
const c = 1;
|
|
break;
|
|
default:
|
|
let z = 2;
|
|
}
|
|
|
|
|
|
switch (2) {
|
|
case 0:
|
|
let x;
|
|
case 1:
|
|
x++;
|
|
} |