URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [using12.C] - Rev 165
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Brendan Kehoe <brendan@cygnus.com>
namespace foo
{
void x (bool); // { dg-error "" } candidates
void x (char); // { dg-error "" } candidates
void x (int); // { dg-error "" } candidates
void x (double); // { dg-error "" } candidates
}
namespace baz { void x (int); } // { dg-error "" } candidates
void fn (int i)
{
using foo::x;
using baz::x;
x(i); // { dg-error "" } ambiguous
}
Go to most recent revision | Compare with Previous | Blame | View Log