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

Subversion Repositories openrisc

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

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

extern "C" void abort (void);

#include "vbase10.h"

void A::f () {}
B::B() {}

void vbase10_y (C& c)
{
  if (c.c1 != 1)
    abort ();
  if (c.c2 != 2)
    abort ();
}

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.