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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.gdbtk/] [cpp_variable.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
struct _foo
2
{
3
  int a[10];
4
  char *p;
5
};
6
 
7
class VA
8
{
9
 public:
10
  int va_pub_int;
11
  char *va_pub_charp;
12
 
13
 private:
14
  int va_priv_int;
15
  char *va_priv_charp;
16
 
17
 protected:
18
  struct _foo bar;
19
};
20
 
21
class VB
22
{
23
 public:
24
  int vb_pub_int;
25
 
26
  int fvb_pub ();
27
  virtual int vvb_pub ();
28
 
29
 private:
30
  int vb_priv_int;
31
  char *vb_priv_charp;
32
};
33
 
34
class VC
35
{
36
 public:
37
  int vc_pub_int;
38
 
39
  int fvc ();
40
  virtual int vfvc ();
41
};
42
 
43
class V : public VA, public VB, public VC
44
{
45
 public:
46
  int f ();
47
  virtual int vv ();
48
  int v_pub_int;
49
  char *v_pub_charp;
50
 
51
 private:
52
  int v_priv_int;
53
  char *v_priv_charp;
54
};

powered by: WebSVN 2.1.0

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