URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [scoping2.C] - Rev 12
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);
};