mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
12 lines
181 B
Kotlin
Vendored
12 lines
181 B
Kotlin
Vendored
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"
|
|
} |