[FIR] add more tests diagnostic tests on data and delegated classes

^KT-63522
^KT-63512
^KT-63042
This commit is contained in:
Dmitrii Gridin
2023-11-16 15:48:11 +01:00
committed by Space Team
parent fab63e38aa
commit b3b184f00d
121 changed files with 22418 additions and 0 deletions
@@ -0,0 +1,16 @@
// 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)
}