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] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// Class definitions for dllexport-MI1.C and dllimport-MI1.C
2
 
3
#ifdef BUILDING_MI_DLL
4
#define  DLL_IMPEXP __attribute__ ((dllexport))
5
#else
6
#define  DLL_IMPEXP __attribute__ ((dllimport))
7
#endif
8
 
9
 
10
#define D1_return 1
11
#define D2_return 2
12
 
13
class DLL_IMPEXP MBase
14
{
15
public:
16
  virtual int vf() const = 0;
17
  virtual ~MBase();
18
};
19
 
20
class DLL_IMPEXP D1 : virtual public MBase
21
{
22
public:
23
  int vf() const;
24
};
25
 
26
class DLL_IMPEXP D2 : virtual public MBase
27
{
28
public:
29
  D2 ();
30
  D2 (D2 const&);
31
  int vf() const;
32
};
33
 
34
class DLL_IMPEXP MI1 : public D1, public D2
35
{
36
public:
37
  int vf() const;
38
};
39
 

powered by: WebSVN 2.1.0

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