summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp17.C
blob: f1ddeb12ef3be4ae4cd27cb7cdfb14be62c0aa6d (plain)
1
2
3
4
5
6
7
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" }