PR c++/56323
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2013 01:27:03 +0000 (01:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Feb 2013 01:27:03 +0000 (01:27 +0000)
commitfe1e249372a97b8dca0b3f17c4a698910fed4f8f
treead0d25171feaf55e2a861ed9ae317b09f912e845
parent133669af92b5a2d2a729be42607c10bdc7c3cfe8
PR c++/56323
* name-lookup.c (do_class_using_decl): Handle typedefs with
inheriting constructors.
(push_class_level_binding_1): Allow inheriting from template
template parameter, too.
* pt.c (tsubst_decl) [USING_DECL]: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196067 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/inh-ctor17.C [new file with mode: 0644]