class Test def xyzzy is virtual, shared # .error. Cannot specify both pass def xyzzy is shared, virtual # .error. Cannot specify both pass def main is shared Test().xyzzy