------- Comment #6 from hjl at gcc dot gnu dot org  2009-03-27 13:17 -------
Subject: Bug 37647
Author: hjl
Date: Fri Mar 27 13:17:37 2009
New Revision: 145105

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145105
Log:
gcc/cp/

2009-03-27  Simon Martin  <simar...@users.sourceforge.net>

        PR c++/37647
        * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class
        scope.

gcc/testsuite/

2009-03-27  Simon Martin  <simar...@users.sourceforge.net>

        PR c++/37647
        * g++.dg/parse/ctor9.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/ctor9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37647

Reply via email to