1 // RUN: clang-cc -emit-llvm -femit-all-decls -o %t %s && 2 // RUN: grep "_ZNK4plusIillEclERKiRKl" %t | count 1 3 4 template<typename T, typename U, typename Result> 5 struct plus { 6 Result operator()(const T& t, const U& u) const { 7 return t + u; 8 } 9 }; 10 11 template struct plus<int, long, long>; 12