(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
ttp17.C
// { dg-options -fno-new-ttp-matching }

template <template <typename> class C>
void f(C<double>) {}

template <typename T, typename U = int>
struct S {};

template void f(S<double>); // { dg-error "match" }