OSDN Git Service

2005-10-28 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2005 20:25:55 +0000 (20:25 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Oct 2005 20:25:55 +0000 (20:25 +0000)
commitbfbcf632cf729f774b789bbccc0b3eada34c6cbb
treeac86dcbd6e63260aa752f6f51f4d938c9c43f36f
parent1eae6638e9b77da5aa57c4d1571a1ca35aa7bf56
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23229
        * decl.c (grokfndecl): Create a new function type
        after erroring out about main not returning int.
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

PR C++/23229
        * g++.dg/warn/main-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105960 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/main-2.C [new file with mode: 0644]