class Test shared def main obj as Object? = nil x = 0 if obj x = 1 assert x==0