blob: 05665d6b93549104f59a85eda4527802b4329ff5 [file] [log] [blame]
// { 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() { return PathComponentPiece(); }
};