14 lines
355 B
Kotlin
Vendored
14 lines
355 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_RUNTIME
|
|
|
|
class C @kotlin.jvm.JvmOverloads constructor(s1: String, s2: String = "K") {
|
|
public val status: String = s1 + s2
|
|
}
|
|
|
|
fun box(): String {
|
|
val c = (C::class.java.getConstructor(String::class.java).newInstance("O"))
|
|
return c.status
|
|
}
|