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++.old-deja/] [g++.ns/] [using12.C] - Rev 414
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-message "candidates" }
void x (char); // { dg-message "note" } candidates
void x (int); // { dg-message "note" } candidates
void x (double); // { dg-message "note" } candidates
}
namespace baz { void x (int); } // { dg-message "note" } 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