summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_extern_templates.cpp
blob: 01f300a99554a47ae3b9e5b864699628efb34222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

template <typename T>
void someFunc()
{
}

extern template void someFunc<int>();

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