class Test var _x as int = 5 def main is shared t as Test = Test() t.check def check assert _x==5