summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/vbase11_y.C
blob: 01ca62b87b81a59b2d32b73516c506a26142c6b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
extern "C" void abort (void);

#include "vbase11.h"

void vbase11_y (derived& d)
{
  if (d.foo() != 2)
    abort ();
  if (d.bar() != 3)
    abort ();
}