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

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

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

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