/* test method that returns an object */
class Main {
void main() {
int x;
B b;
b = aux();
x = b.a;
write(x);
}
B aux(){
b = new B();
b.a = 10;
return b;
class B {
int a;