Files
kotlin/compiler/testData/writeFlags/function/withDefaultArguments/funInClassObject.kt
2019-04-09 08:11:29 +02:00

11 lines
250 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
class MyClass() {
companion object {
fun test(s: String, x:Int = 10) {}
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: MyClass$Companion, test$default
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC