Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr70538.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct A;
4 template <typename> class C;
5 using PathComponentPiece = C<int>;
6 class B {
7 B(int);
8 template <typename T> B(T);
9 B(C<A>);
10 };
11 template <typename> class C : B {
12 using base_type = B;
13 base_type::base_type; // { dg-warning "access declarations" }
14 PathComponentPiece m_fn1() { return PathComponentPiece(); }
15 };