URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do run }
|
// { dg-do run }
|
// { dg-additional-files "vtable3.h" }
|
// { dg-additional-files "vtable3.h" }
|
|
|
// Copyright (C) 2000, 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2000, 2003 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 4 February 2001
|
// Contributed by Nathan Sidwell 4 February 2001
|
|
|
// Check constructor vtables work.
|
// Check constructor vtables work.
|
|
|
#define A_EMPTY
|
#define A_EMPTY
|
#define B1_EMPTY
|
#define B1_EMPTY
|
#define B2_EMPTY
|
#define B2_EMPTY
|
#define C_EMPTY
|
#define C_EMPTY
|
#define C_PARENTS B1, B2
|
#define C_PARENTS B1, B2
|
|
|
#include "vtable3.h"
|
#include "vtable3.h"
|
|
|
/*
|
/*
|
A = { vptr }
|
A = { vptr }
|
B1, B2 = { A }
|
B1, B2 = { A }
|
C = { B1, B2 }
|
C = { B1, B2 }
|
D = { C }
|
D = { C }
|
D1 = {
|
D1 = {
|
*/
|
*/
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.