URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [redecl3.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed redeclaration
class foo
{
public:
int bar(int a);
};
void bar(int &a);
int foo::bar(int a) {
int a = 0; // Should this be an error ?// { dg-error "" } declaration.*
bar(a);
return 0;
}