URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [koenig4.C] - Rev 699
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);
}