mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
7 lines
111 B
Kotlin
Vendored
7 lines
111 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
class A<T>(val t: T) {
|
|
fun foo(): T = t
|
|
}
|
|
|
|
fun box() = (A<String>::foo)(A("OK"))
|