URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [scoping2.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: A function is not hidden properly by a use of its name in an
// inner scope.
struct A
{
struct B
{
int f;
B() : f(0) {}
void g() { f = 0; }
};
void f();
void f(int);
};