OSDN Git Service

PR c++/43648
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 16:12:15 +0000 (16:12 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:16:51 +0000 (14:16 +0900)
* name-lookup.c (constructor_name_p): Allow X::~X even for typedefs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158007 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index 323fcd9..6dd7ab7 100644 (file)
@@ -1,5 +1,8 @@
 2010-04-06  Jason Merrill  <jason@redhat.com>
 
+       PR c++/43648
+       * name-lookup.c (constructor_name_p): Allow X::~X even for typedefs.
+
        PR c++/43621
        * pt.c (maybe_update_decl_type): Check the return value from
        push_scope.
index 6f77baa..b32b730 100644 (file)
@@ -1,5 +1,8 @@
 2010-04-06  Jason Merrill  <jason@redhat.com>
 
+       PR c++/43648
+       * g++.dg/template/dtor8.C: New.
+
        PR c++/43621
        * g++.dg/template/error-recovery2.C: New.