Commit 59fbddcf by Paolo Carlini Committed by Paolo Carlini

re PR c++/70538 (ICE on a deprecated access declaration in…

re PR c++/70538 (ICE on a deprecated access declaration in instantiate_template_1, at cp/pt.c:17310)

2017-05-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/70538
	* g++.dg/cpp0x/pr70538.C: New.

From-SVN: r247917
parent c24e924f
2017-05-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/70538
* g++.dg/cpp0x/pr70538.C: New.
2017-05-11 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr22152.c: Fix undefined testcase. Remove
......
// { dg-do compile { target c++11 } }
struct A;
template <typename> class C;
using PathComponentPiece = C<int>;
class B {
B(int);
template <typename T> B(T);
B(C<A>);
};
template <typename> class C : B {
using base_type = B;
base_type::base_type; // { dg-warning "access declarations" }
PathComponentPiece m_fn1() {}
};
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