2007-10-14 Andrew Pinski <pinskia@gmail.com>
commit9129d24f31cba548a1e07ebc8691d043da1540fb
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Oct 2007 18:15:35 +0000 (14 18:15 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Oct 2007 18:15:35 +0000 (14 18:15 +0000)
treeaa7fb51f6467b13b5c7ac8cea26573348bdb1e7b
parent444fed4fb4a0e95c68a2bacaba5e431d39ca922e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129298 138bc75d-0d04-0410-961f-82ee72b054a4
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]