URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [koenig4.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do run }
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);
}