summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/ttp19.C
blob: 12a37c9cd59b6996aae989506df411c8f0b8f4fb (plain)
1
2
3
4
5
6
7
// PR c++/27689

void f (...);
template <template <typename> class F, typename T> void f (F<T>);
template <typename> struct foo { struct bar {}; };
void g (foo<int>::bar x) { f(x); }