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 (); }