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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [break/] [vbase11_x.C] - Rev 701

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

#include "vbase11.h"

extern void vbase11_y (derived&);

int base::foo() { return 1; }
int derived::foo() { return 2; }
int derived::bar() { return 3; }

void vbase11_x ()
{
  derived d;

  vbase11_y (d);
}

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.