Added missing checks for forward declarations of the main() function.
More accurate diagnosis on implicit 'int' type specifiers.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
bug1889-missing-identifier.c:3: Error: Identifier or ';' expected after declaration specifiers
|
||||
bug1889-missing-identifier.c:3: Warning: Implicit 'int' is an obsolete feature
|
||||
bug1889-missing-identifier.c:3: Warning: Implicit 'int' type specifier is an obsolete feature
|
||||
bug1889-missing-identifier.c:4: Error: 'inline' on empty declaration
|
||||
bug1889-missing-identifier.c:6: Error: Expression expected
|
||||
|
||||
Reference in New Issue
Block a user