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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#include "cpp_variable.h"
2
 
3
static void do_simple_class_tests (void);
4
 
5
int
6
VB::fvb_pub () {return 300 + vb_pub_int;}
7
 
8
int
9
VB::vvb_pub () {return 400 + vb_pub_int;}
10
 
11
int
12
V::f () {return 600 + v_pub_int;}
13
 
14
int
15
V::vv () {return 400 + v_pub_int;}
16
 
17
int
18
VC::fvc () {return 300 + vc_pub_int;}
19
 
20
int
21
VC::vfvc () {return 100 + vc_pub_int;}
22
 
23
main ()
24
{
25
  do_simple_class_tests ();
26
}
27
 
28
static void
29
do_simple_class_tests (void)
30
{
31
  V *v = new V;
32
  V vv;
33
}

powered by: WebSVN 2.1.0

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