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

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

}

template<typename T>
struct A
{

};

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