using System;
class A : IDisposable{public Dispose():void{}}
public class Test
{
public static Main() : void
{
def x = using(a = A()) { 1 };
Console.Write(x);
}
}
dXNpbmcgU3lzdGVtOwpjbGFzcyBBIDogSURpc3Bvc2FibGV7cHVibGljIERpc3Bvc2UoKTp2b2lke319CnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgTWFpbigpIDogdm9pZAoJewoJICBkZWYgeCA9IHVzaW5nKGEgPSBBKCkpIHsgMSB9OwoJICBDb25zb2xlLldyaXRlKHgpOwoJfQp9