mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
28 lines
320 B
C
28 lines
320 B
C
|
|
||
|
#define DERIVED_TEST 1
|
||
|
|
||
|
class CSilly
|
||
|
{
|
||
|
protected:
|
||
|
char* szName;
|
||
|
|
||
|
public:
|
||
|
CSilly();
|
||
|
CSilly(char* szName);
|
||
|
#ifdef DERIVED_TEST
|
||
|
virtual ~CSilly();
|
||
|
#else
|
||
|
~CSilly();
|
||
|
#endif
|
||
|
|
||
|
Poke ();
|
||
|
Stab (int nTimes);
|
||
|
#ifdef DERIVED_TEST
|
||
|
virtual WhatsYourName ();
|
||
|
#else
|
||
|
WhatsYourName ();
|
||
|
#endif
|
||
|
|
||
|
};
|
||
|
|