summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/abi/vbase8-4_y.C
blob: 24d5046c90dd9c53e364f2bc4176ad3fbe306097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// { dg-options -w }

extern "C" void abort (void);

#include "vbase8-4.h"

void check_C0 (C0 &x, int i)
{
  if (x.i0 != i)
    abort ();
}

void check_C1 (C1 &x, int i)
{
  if (x.i1 != i)
    abort ();
}

void check_C2 (C2 &x, int i)
{
  if (x.i2 != i)
    abort ();
}

void check_C3 (C3 &x, int i)
{
  if (x.i3 != i)
    abort ();
}

void check_C4 (C4 &x, int i)
{
  if (x.i4 != i)
    abort ();
}

void check_C5 (C5 &x, int i)
{
  if (x.i5 != i)
    abort ();
}

void check_C6 (C6 &x, int i)
{
  if (x.i6 != i)
    abort ();
}

void check_C7 (C7 &x, int i)
{
  if (x.i7 != i)
    abort ();
}

void check_C8 (C8 &x, int i)
{
  if (x.i8 != i)
    abort ();
}

void check_C9 (C9 &x, int i)
{
  if (x.i9 != i)
    abort ();
}