xref: /llvm-project/llvm/test/tools/llvm-cov/gcov/Inputs/tmpl.cpp (revision 1c99f650a7ac90c80ffd4830e05cd3408e64f42c)
1*1c99f650SIgor Kudrin template <int N>
test()2*1c99f650SIgor Kudrin int test() { return N; }
3*1c99f650SIgor Kudrin 
main()4*1c99f650SIgor Kudrin int main() { return test<1>() + test<2>(); }
5