decl.c
393 KB
-
re PR c++/37647 (ICE with invalid use of constructor) · 48b6cd9d
gcc/cp/ 2009-03-27 Simon Martin <simartin@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 <simartin@users.sourceforge.net> PR c++/37647 * g++.dg/parse/ctor9.C: New test. From-SVN: r145105
Simon Martin committed