[tests][FIR][checkers] Add test data for KT-66595

This commit is contained in:
Stanislav Ruban
2024-03-14 16:33:33 +02:00
committed by Space Team
parent 8ad38db2ad
commit 89a0cde514
7 changed files with 52 additions and 0 deletions
@@ -0,0 +1,11 @@
// TARGET_FRONTEND: ClassicFrontend
// ^ reason for a FIR mute: KT-66595
class SimpleKlass {
@Deprecated("deprecated and hidden", level = DeprecationLevel.HIDDEN)
operator fun component1(): Int = 42
}
fun test(simpleKlass: SimpleKlass) {
val (s1) = <!COMPONENT_FUNCTION_MISSING!>simpleKlass<!>
}