Files
Dmitrii Gridin b3b184f00d [FIR] add more tests diagnostic tests on data and delegated classes
^KT-63522
^KT-63512
^KT-63042
2023-11-21 08:11:20 +00:00

17 lines
318 B
Kotlin
Vendored

// FIR_IDENTICAL
// FIR_DUMP
package second
@Target(AnnotationTarget.TYPE)
annotation class Anno(val int: Int)
interface Base
fun bar(): Base = object : Base {}
const val constant = 0
class MyClass: @Anno(constant) Base by bar() {
@Target(AnnotationTarget.TYPE)
annotation class Anno(val string: String)
}