TypeScript/tests/cases/compiler/noUnusedLocals_selfReference_skipsBlockLocations.ts

19 lines
273 B
TypeScript

// @noUnusedLocals: true
namespace n {
function f() {
f;
}
switch (0) {
case 0:
function g() {
g;
}
default:
function h() {
h;
}
}
}