Commit a533f697 by Paolo Carlini

re PR c++/59816 ([c++11] Incorrect visibility check in template instantiation…

re PR c++/59816 ([c++11] Incorrect visibility check in template instantiation when the default constructor is a variadic template.)

2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/59816
	* g++.dg/cpp0x/pr59816.C: New.

From-SVN: r221502
parent 91e11b23
2014-03-18 Paul Thomas <pault@gcc.gnu.org>
2015-03-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59816
* g++.dg/cpp0x/pr59816.C: New.
2015-03-18 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59198
* gfortran.dg/proc_ptr_comp_45.f90 : Make tests fuzzy.
......@@ -47,7 +52,7 @@
PR fortran/64432
* gfortran.dg/system_clock_3.f08: Adjust test.
2014-03-17 Paul Thomas <pault@gcc.gnu.org>
2015-03-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/59198
* gfortran.dg/proc_ptr_comp_44.f90 : New test
......
// PR c++/59816
// { dg-do compile { target c++11 } }
class Base {
protected:
template<class... TArgs>
Base(TArgs...) {}
};
class Class
: public Base {
public:
template<class... TArgs>
Class(TArgs... args) : Base { args... } {}
};
void test() {
Class{};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment