Bug report
Bug description:
>>> class _: ... a: int ... __classdict__: a SystemError: compiler_lookup_arg(name='__classdict__') with reftype=5 failed in _; freevars of code __annotate__: ('__classdict__',)
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response