blob: 009327c34637e8a29e5cc63e8cf596e034f99dd7 [file] [log] [blame]
void f();
void f(int);
namespace A{
struct S{
void f();
void f(S);
};
void f(S&){}
void h(S&){}
}
template<class T>
void g(T t){
f(t);
}
int main()
{
A::S s;
f(s);
g(s);
h(s);
}