re PR c++/56323 ([C++11] cannot compile inherited constructor for typedef'ed base...
authorJason Merrill <jason@redhat.com>
Fri, 15 Feb 2013 01:27:03 +0000 (20:27 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Feb 2013 01:27:03 +0000 (20:27 -0500)
commit06449b408eb72fbc8f5b78fea962efd4e72db5e6
treead0d25171feaf55e2a861ed9ae317b09f912e845
parent5b858a6cc3584c4dfec7c9ef377f71bccf986e13
re PR c++/56323 ([C++11] cannot compile inherited constructor for typedef'ed base class)

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.

From-SVN: r196067
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]