reservedWords3.ts(1,10): error TS7010: 'f1', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(1,13): error TS1390: 'enum' is not allowed as a parameter name.
reservedWords3.ts(1,17): error TS2567: Enum declarations can only merge with namespace or other enum declarations.
reservedWords3.ts(1,17): error TS1003: Identifier expected.
reservedWords3.ts(2,10): error TS7010: 'f2', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(2,13): error TS1390: 'class' is not allowed as a parameter name.
reservedWords3.ts(2,18): error TS1005: '{' expected.
reservedWords3.ts(3,10): error TS7010: 'f3', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(3,13): error TS1390: 'function' is not allowed as a parameter name.
reservedWords3.ts(3,21): error TS2567: Enum declarations can only merge with namespace or other enum declarations.
reservedWords3.ts(3,21): error TS7010: '(Missing)', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(3,21): error TS1003: Identifier expected.
reservedWords3.ts(4,10): error TS7010: 'f4', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(4,13): error TS1390: 'while' is not allowed as a parameter name.
reservedWords3.ts(4,18): error TS1005: '(' expected.
reservedWords3.ts(5,10): error TS7010: 'f5', which lacks return-type annotation, implicitly has an 'any' return type.
reservedWords3.ts(5,13): error TS1390: 'for' is not allowed as a parameter name.
reservedWords3.ts(5,16): error TS1005: '(' expected.


==== reservedWords3.ts (18 errors) ====
    function f1(enum) {}
             ~~
!!! error TS7010: 'f1', which lacks return-type annotation, implicitly has an 'any' return type.
                ~~~~
!!! error TS1390: 'enum' is not allowed as a parameter name.
                    
!!! error TS2567: Enum declarations can only merge with namespace or other enum declarations.
                    ~
!!! error TS1003: Identifier expected.
    function f2(class) {}
             ~~
!!! error TS7010: 'f2', which lacks return-type annotation, implicitly has an 'any' return type.
                ~~~~~
!!! error TS1390: 'class' is not allowed as a parameter name.
                     ~
!!! error TS1005: '{' expected.
    function f3(function) {}
             ~~
!!! error TS7010: 'f3', which lacks return-type annotation, implicitly has an 'any' return type.
                ~~~~~~~~
!!! error TS1390: 'function' is not allowed as a parameter name.
                        
!!! error TS2567: Enum declarations can only merge with namespace or other enum declarations.
                        
!!! error TS7010: '(Missing)', which lacks return-type annotation, implicitly has an 'any' return type.
                        ~
!!! error TS1003: Identifier expected.
    function f4(while) {}
             ~~
!!! error TS7010: 'f4', which lacks return-type annotation, implicitly has an 'any' return type.
                ~~~~~
!!! error TS1390: 'while' is not allowed as a parameter name.
                     ~
!!! error TS1005: '(' expected.
    function f5(for) {}
             ~~
!!! error TS7010: 'f5', which lacks return-type annotation, implicitly has an 'any' return type.
                ~~~
!!! error TS1390: 'for' is not allowed as a parameter name.
                   ~
!!! error TS1005: '(' expected.
    