mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
12 lines
187 B
Kotlin
Vendored
12 lines
187 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun box(): String {
|
|
class A {
|
|
var result: String = "Fail";
|
|
init {
|
|
result = "OK"
|
|
}
|
|
}
|
|
|
|
return (::A)().result
|
|
}
|