[FIR] Add test for WRONG_MULTIPLE_INHERITANCE with typealias

#KT-61921
This commit is contained in:
Kirill Rakhman
2023-09-14 11:43:43 +02:00
committed by Space Team
parent 6a2b6e03d4
commit dda6d20520
2 changed files with 3 additions and 56 deletions
@@ -5,7 +5,10 @@ open class A {
fun get(index: Int): Char = '*'
}
typealias TA = A
abstract class <!WRONG_MULTIPLE_INHERITANCE!>B<!> : A(), CharSequence
abstract class <!WRONG_MULTIPLE_INHERITANCE!>B2<!> : TA(), CharSequence
interface I {
fun nextChar(): Char