tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,6): error TS2406: Invalid left-hand side in 'for...in' statement.
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,10): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts(1,19): error TS2304: Cannot find name 'b'.


==== tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts (3 errors) ====
    for (new foo() in b) {
         ~~~~~~~~~
!!! error TS2406: Invalid left-hand side in 'for...in' statement.
             ~~~
!!! error TS2304: Cannot find name 'foo'.
                      ~
!!! error TS2304: Cannot find name 'b'.
    }