Add one more test for KT-61959

Generate FE tests
This commit is contained in:
Aleksandra.Arsenteva
2023-11-13 12:07:18 +03:00
committed by Space Team
parent a3f5db566c
commit 83c90d0e4f
6 changed files with 48 additions and 0 deletions
@@ -0,0 +1,18 @@
// FIR_IDENTICAL
package test
interface OuterParam
class A: OuterParam
class Outer<OuterParam> {
class Nested: OuterParam {
fun foo(): OuterParam = A()
}
}
fun main() {
val c: OuterParam = Outer.Nested().foo()
}