aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction69.C
blob: d3363668cc52c2000d97037aa2c75739e05cb969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/90764
// { dg-do compile { target c++17 } }

namespace a {
  struct b;
  template <typename...> using c = b;
}
template <typename... d> struct e : a::c<d...> { // { dg-error "incomplete" }
  using a::c<>::c;		// { dg-prune-output "not a direct base" }
};
template <template <typename> typename f> void g() { f(); }
void h() { g<e>(); }