TypeScript/tests/cases/compiler/ambientWithStatements.ts
2014-07-12 17:30:19 -07:00

27 lines
396 B
TypeScript

declare module M {
break;
continue;
debugger;
do { } while (true);
var x;
for (x in null) { }
if (true) { } else { }
1;
L: var y;
return;
switch (x) {
case 1:
break;
default:
break;
}
throw "nooo";
try {
}
catch (e) {
}
finally {
}
with (x) {
}
}