summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/vbase10_y.C
blob: 70ce0075e66664d1dbf8a89f7e757008790f079e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern "C" void abort (void);

#include "vbase10.h"

void A::f () {}
B::B() {}

void vbase10_y (C& c)
{
  if (c.c1 != 1)
    abort ();
  if (c.c2 != 2)
    abort ();
}