// REPL_MODE: true class GClass { fun foo(t: T): T { return t } } val g = GClass() g.foo(1) // RESULT: res2: kotlin.Int = 1