Files
kotlin-fork/compiler/testData/codegen/box/defaultArguments/kt47073.kt
T

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()