mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
12 lines
181 B
Kotlin
12 lines
181 B
Kotlin
fun box() : String {
|
|
|
|
fun <T> local(s : T) : T {
|
|
return s;
|
|
}
|
|
|
|
if (local(10) != 10) return "fail1"
|
|
|
|
if (local("11") != "11") return "fail2"
|
|
|
|
return "OK"
|
|
} |