[Test] Reproduce KT-65207

This commit is contained in:
Dmitriy Novozhilov
2024-02-16 09:36:47 +02:00
committed by Space Team
parent be1d8e2894
commit 9302c8c14d
11 changed files with 261 additions and 0 deletions
@@ -0,0 +1,23 @@
// TARGET_BACKEND: JVM
// ENABLE_IR_FAKE_OVERRIDE_GENERATION
// ISSUE: KT-65207
// FILE: Java1.java
import java.util.ArrayList;
public class Java1<T> {
public T foo() {
return null;
}
public ArrayList<Integer> bar() {
return null;
};
}
// FILE: 1.kt
abstract class C<R> : Java1<R>(), KotlinInterface<R>
interface KotlinInterface<T> {
fun foo(): T
fun bar(): ArrayList<Int>
}