OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [dll-MI1.h] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

// Class definitions for dllexport-MI1.C and dllimport-MI1.C
 
#ifdef BUILDING_MI_DLL
#define  DLL_IMPEXP __attribute__ ((dllexport))
#else
#define  DLL_IMPEXP __attribute__ ((dllimport))
#endif
 
 
#define D1_return 1
#define D2_return 2
 
class DLL_IMPEXP MBase
{
public:
  virtual int vf() const = 0;
  virtual ~MBase();
};
 
class DLL_IMPEXP D1 : virtual public MBase
{
public:
  int vf() const;
};
 
class DLL_IMPEXP D2 : virtual public MBase
{
public:
  D2 ();
  D2 (D2 const&);
  int vf() const;
};
 
class DLL_IMPEXP MI1 : public D1, public D2
{
public:
  int vf() const;
};
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.