Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction69.C

raw
1 // PR c++/90764
2 // { dg-do compile { target c++17 } }
3
4 namespace a {
5 struct b;
6 template <typename...> using c = b;
7 }
8 template <typename... d> struct e : a::c<d...> { // { dg-error "incomplete" }
9 using a::c<>::c; // { dg-prune-output "not a direct base" }
10 };
11 template <template <typename> typename f> void g() { f(); }
12 void h() { g<e>(); }