10 lines
166 B
Plaintext
Vendored
10 lines
166 B
Plaintext
Vendored
// REPL_MODE: true
|
|
|
|
class GClass<T> {
|
|
fun foo(t: T): T {
|
|
return t
|
|
}
|
|
}
|
|
|
|
val g = GClass<Int>()
|
|
g.foo(1) // RESULT: res2: kotlin.Int = 1 |