void () { doTestByText( """ a<warning descr="Types specified both in a type comment and annotation">: int</warning> = None <warning descr="Types specified both in a type comment and annotation"># type: int</warning> def foo(a<warning descr="Types specified both in a type comment and annotation">: int</warning> <warning descr="Types specified both in a type comment and annotation"># type: int</warning> ,): pass def <warning descr="Types specified both in a type comment and annotation">bar</warning>(a: int) -> int: <warning descr="Types specified both in a type comment and annotation"># type: (int) -> int</warning> pass \s def <warning descr="Types specified both in a type comment and annotation">baz1</warning>(a: int): <warning descr="Types specified both in a type comment and annotation"># type: (int) -> int</warning> pass \s def <warning descr="Types specified both in a type comment and annotation">baz2</warning>(a) -> int: <warning descr="Types specified both in a type comment and annotation"># type: (int) -> int</warning> pass""" ); }