llvm-for-llvmta/tools/clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp

9 lines
160 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
template<typename T> constexpr T add(T arg1, T arg2) {
return arg1 + arg2;
}
template<> constexpr int add(int arg1, int arg2) {
return arg1 + arg2 + 2;
}