blob: 4584cd85c5b5d044e13db14cb6b42e93c0ed9861 [file]
package com.example.klib.serialization.diagnostics
class A {
@Deprecated("", level = DeprecationLevel.HIDDEN)
fun foo(): String = ""
fun foo(): Int = 0
}
var myVal: Long = 0L
@Deprecated("This function moved to the 'lib' module", level = DeprecationLevel.HIDDEN)
fun movedToLib() {}
@Deprecated("", level = DeprecationLevel.HIDDEN)
var myVal: Int = 0
@Deprecated("", level = DeprecationLevel.HIDDEN)
val myVal: String
get() = ""
fun main() {
println(A().foo())
movedToLib()
}