test @auto_closure