re PR c++/30303 (ICE with invalid constructor definition)
commitdb160137f027cad2d3f2167b32073a0a11bbb9e4
authorAndrew Pinski <pinskia@gmail.com>
Sun, 14 Oct 2007 18:15:35 +0000 (14 11:15 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 14 Oct 2007 18:15:35 +0000 (14 11:15 -0700)
treeaa7fb51f6467b13b5c7ac8cea26573348bdb1e7b
parentb7cc2adf34650b8ce06f0d3744a7ff03eeca77ea
re PR c++/30303 (ICE with invalid constructor definition)

2007-10-14  Andrew Pinski  <pinskia@gmail.com>

        PR c++/30303
        * decl.c (grokfndecl): Return NULL after the "definition of
        implicitly-declared" error happened.

2007-10-14  Andrew Pinski  <pinskia@gmail.com>

        PR c++/30303
        * g++.dg/other/ctor1.C: New test.
        * g++.dg/other/ctor2.C: New test.
        * g++.dg/other/dtor1.C: New test.

From-SVN: r129298
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/ctor1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/ctor2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/dtor1.C [new file with mode: 0644]