class A {} fun foo(t: T) {} fun bar() { foo(A()) }