1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -g 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc template <typename T1,typename T2> f(const T1 &,const T2 &)4*f4a2713aSLionel Sambucinline void f(const T1&,const T2&) { } 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc template <typename T1,typename T2,void F(const T1&,const T2&)> 7*f4a2713aSLionel Sambuc struct A { gA8*f4a2713aSLionel Sambuc template <typename T> void g(T& i) { } 9*f4a2713aSLionel Sambuc }; 10*f4a2713aSLionel Sambuc main()11*f4a2713aSLionel Sambucint main() { 12*f4a2713aSLionel Sambuc int i; 13*f4a2713aSLionel Sambuc A<int,int,f> a; 14*f4a2713aSLionel Sambuc a.g(i); 15*f4a2713aSLionel Sambuc } 16