view gcc/testsuite/g++.dg/cpp1z/class-deduction69.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// 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 base" }
};
template <template <typename> typename f> void g() { f(); }
void h() { g<e>(); }