summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_template_template_parameters.cpp
blob: d57dd3698de85f443ad7b7158d5d72307f86f68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

template <template <typename> class T, typename U>
void someFunc(T<U>)
{
}

template <typename T>
struct A
{
};

void otherFunc()
{
  A<int> a;
  someFunc(a);
}