// { dg-do link }// GROUPS passed templates membertemplatesextern"C"intprintf(const char*, ...);struct S {template<class T>voidoperator+(T);};template<class T>voidS::operator+(T){printf("Hello, world.\n");}intmain(){
S s;
s +3;
s + s;
s.operator+("Hi");}