llvm-project/llvm/test/tools/llvm-cov/gcov/Inputs/tmpl.cpp

5 lines
88 B
C++

template <int N>
int test() { return N; }
int main() { return test<1>() + test<2>(); }