mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
10 lines
240 B
Kotlin
Vendored
10 lines
240 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
open class SomeClass(val some: Double, val other: Int, vararg val args: String) {
|
|
fun result() = args[1]
|
|
}
|
|
|
|
fun box(): String {
|
|
return object : SomeClass(3.14, 42, "No", "OK", "Yes") {
|
|
}.result()
|
|
}
|