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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [compat/] [break/] [vbase11_x.C] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
#include "vbase11.h"
2
 
3
extern void vbase11_y (derived&);
4
 
5
int base::foo() { return 1; }
6
int derived::foo() { return 2; }
7
int derived::bar() { return 3; }
8
 
9
void vbase11_x ()
10
{
11
  derived d;
12
 
13
  vbase11_y (d);
14
}

powered by: WebSVN 2.1.0

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