/* test method that returns an object */

class Main {
	void main() {
	int x;
		B b;
		b = aux();
		x = b.a;
		write(x);
	}
	
	B aux(){
		B b;
		b = new B();
		b.a = 10;
		return b;
	}
}

class B {
	int a;
}
