10 lines
147 B
Kotlin
Vendored
10 lines
147 B
Kotlin
Vendored
// IGNORE_BACKEND: JS
|
|
|
|
class Test<T: Char>(val k: T) {
|
|
fun test(x: T = k): String {
|
|
return "O$x"
|
|
}
|
|
}
|
|
|
|
fun box() = Test('K').test()
|