#include <iostream>

struct a
{
	int m;
	a()
	: m(0)
	{}

//private:
	a( const a & _ )
	: m( _.m+1)
	{}
};

struct b : public a
{
	int n;
	b()
	: n(0)
	{}
};

int main()
{
	b o;
	b o2 = o;
	std::cout << o2.m <<' '<<o2.n<< std::endl;
	return 0;
}

