Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.abi/vtable3a.C

raw
1 // { dg-do run }
2 // { dg-additional-files "vtable3.h" }
3
4 // Copyright (C) 2000, 2003 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 4 February 2001 <[email protected]>
6
7 // Check constructor vtables work.
8
9 #define A_EMPTY
10 #define B1_EMPTY
11 #define B2_EMPTY
12 #define C_EMPTY
13 #define C_PARENTS B1, B2
14
15 #include "vtable3.h"
16
17 /*
18 A = { vptr }
19 B1, B2 = { A }
20 C = { B1, B2 }
21 D = { C }
22 D1 = {
23 */