Add test for obsolete issue

The issue was fixed in df1595e

 #KT-39630 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-06-18 13:05:19 +03:00
parent 559561ca6b
commit d44a7ff8f9
5 changed files with 48 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// FIR_IDENTICAL
// FILE: A.java
public class A<T> {
public void add(T x) {}
public static class B extends A<Runnable> {}
}
// FILE: test.kt
fun test(x: A.B) {
x.add { }
}