TypeScript/tests/cases/compiler/ambientWithStatements.ts

27 lines
396 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
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) {
}
}