URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.abi/] [vtable3a.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// { dg-additional-files "vtable3.h" }
// Copyright (C) 2000, 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 4 February 2001 <nathan@codesourcery.com>
// Check constructor vtables work.
#define A_EMPTY
#define B1_EMPTY
#define B2_EMPTY
#define C_EMPTY
#define C_PARENTS B1, B2
#include "vtable3.h"
/*
A = { vptr }
B1, B2 = { A }
C = { B1, B2 }
D = { C }
D1 = {
*/
Go to most recent revision | Compare with Previous | Blame | View Log