namespace Test class Test def main is shared .innerMain def innerMain is shared q as int = 1 a as int = 0 if q==1 a = 1 assert a==1 if q==1 a = 2 else a = 3 assert a==2 if q==0 a = 5 else if q==1 a = 6 else a = 7 assert a==6 if q==0 pass if q==1 a = 8 a = 9 assert a==9 if q==-1 a = 10 else if q==0 a = 11 else a = 12 assert a==12