blob: 0347c856c55ce298ec94c01da3d5ad47ab621682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { 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() {}
};
|