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