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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [testsuite/] [gdb.gdbtk/] [cpp_variable.cc] - Rev 578

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

#include "cpp_variable.h"
 
static void do_simple_class_tests (void);
 
int
VB::fvb_pub () {return 300 + vb_pub_int;}
 
int
VB::vvb_pub () {return 400 + vb_pub_int;}
 
int
V::f () {return 600 + v_pub_int;}
 
int
V::vv () {return 400 + v_pub_int;}
 
int
VC::fvc () {return 300 + vc_pub_int;}
 
int
VC::vfvc () {return 100 + vc_pub_int;}
 
main ()
{
  do_simple_class_tests ();
}
 
static void
do_simple_class_tests (void)
{
  V *v = new V;
  V vv;
}
 

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.