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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.gdbtk/] [cpp_variable.h] - Rev 1765

Compare with Previous | Blame | View Log

struct _foo
{
  int a[10];
  char *p;
};
 
class VA
{
 public:
  int va_pub_int;
  char *va_pub_charp;
 
 private:
  int va_priv_int;
  char *va_priv_charp;
 
 protected:
  struct _foo bar;
};
 
class VB
{
 public:
  int vb_pub_int;
 
  int fvb_pub ();
  virtual int vvb_pub ();
 
 private:
  int vb_priv_int;
  char *vb_priv_charp;
};
 
class VC
{
 public:
  int vc_pub_int;
 
  int fvc ();
  virtual int vfvc ();
};
 
class V : public VA, public VB, public VC
{
 public:
  int f ();
  virtual int vv ();
  int v_pub_int;
  char *v_pub_charp;
 
 private:
  int v_priv_int;
  char *v_priv_charp;
};
 

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.