Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.abi/vtable3a.C @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { 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 = { */