8 lines
97 B
Kotlin
Vendored
8 lines
97 B
Kotlin
Vendored
class GClass<T> {
|
|
fun foo(t: T): T {
|
|
return t
|
|
}
|
|
}
|
|
|
|
val g = GClass<Int>()
|
|
g.foo(1) |