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++.law/] [shadow1.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wshadow" }
// GROUPS passed shadow-warnings
// shadow file
// Message-Id: <9211061827.AA03517@harvey>
// From: Jeff Gehlhaar <jbg@qualcomm.com>
// Subject: GCC Bug..
// Date: Fri, 6 Nov 1992 10:27:10 -0700
class Klasse
{
public:
Klasse(void); // constructor
int Shadow(void); // member function
private:
long value;
};
Klasse::Klasse(void)
{
value = 0;
}
static inline unsigned char
Function(int Shadow)
{
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log