Adding regression test

This commit is contained in:
Anders Hejlsberg 2016-04-12 13:40:21 -07:00
parent 586ac55fb4
commit cd88f1ea32

View file

@ -37,7 +37,9 @@ function e() {
let x: string | number;
x = "";
while (cond) {
x; // string | number
x = 42;
x; // number
}
x; // string | number
}