fnmain(){// Testcase for issue #59.objsimple(intx,inty){fnsum()->int{retx+y;}}autoobj0=simple(1,2);autoctor0=bindsimple(1,_);autoctor1=bindsimple(_,2);autoobj1=ctor0(2);autoobj2=ctor1(1);check(obj0.sum()==3);check(obj1.sum()==3);check(obj2.sum()==3);}