void () { runWithLanguageLevel(LanguageLevel.getLatest(), () -> doTestByText(""" from typing import ClassVar def foo() -> <warning descr="'ClassVar' cannot be used in annotation for a function return value">ClassVar</warning>: pass""")); }