// RUN: %clang_cc1 -fsyntax-only -verify %s
// Test instantiation of member functions of class templates defined out-of-line
template<typename T,typename U>structX0{voidf(T *t,const U &u);voidf(T *);};template<typename T,typename U>voidX0<T, U>::f(T *t,const U &u){*t = u;// expected-warning{{indirection on operand of type 'void *'}} expected-error{{not assignable}}
}voidtest_f(X0<float,int>xfi, X0<void,int>xvi,float*fp,void*vp,inti){
xfi.f(fp, i);
xvi.f(vp, i);// expected-note{{instantiation}}
}