URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [using-10.C] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/13659
// { dg-do compile }
namespace foo1 {
template <class T> void f(T);
}
namespace foo2 {
template <class T> void f(T, T);
}
namespace foo {
using namespace foo1;
using namespace foo2;
}
// Make sure we bring in both declarations.
using foo::f;
int main() {
f(1);
f(1, 1);
}
Go to most recent revision | Compare with Previous | Blame | View Log