summaryrefslogtreecommitdiff
path: root/Tests/CompileFeatures/cxx_extern_templates.cpp
blob: 9fa4aa4cc0f9a415dfad431aaf70daa64a0f2a8f (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>();
}