// PR c++/109321 // { dg-do compile { target c++20 } } struct A; template struct B; template using D = B; void f () { D() = 0; } // { dg-error "deduction failed|no match" }