#include <iostream>
using namespace std;

class Test
{
public:
	Test() : x(10) {}
	int getTest() { return x; }
private:
	int x;
};

class Change
{
public:
	int x;
};

int main() {
	Test test; // x is 10
	void* dirty = &test;
	Change* modify = (Change*)dirty;
	modify->x = 15;
	cout << test.getTest();
	return 0;
}