Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/notInterface.fir.kt
T

23 lines
274 B
Kotlin
Vendored

// !JVM_TARGET: 1.8
abstract class A {
@JvmDefault
fun test() {}
@JvmDefault
abstract fun test2(s: String = "")
@JvmDefault
abstract fun test3()
}
object B {
@JvmDefault
fun test() {}
@JvmDefault
fun test2(s: String = "") {}
}