Commit 4d5bb56b by Jason Merrill

c++: Add testcase for PR 90764.

     PR c++/90764
     * g++.dg/cpp1z/class-deduction69.C: New.
parent 187dd955
// 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>(); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment