summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp16.C
blob: c556c7d98a440c50c99c6779dd614986355d5403 (plain)
1
2
3
4
5
6
7
template <template <typename> class C>
void f() {}

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

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