Add tests for obsolete issues

#KT-21085 Obsolete
 #KT-13846 Obsolete
This commit is contained in:
Mikhael Bogdanov
2019-02-07 11:28:46 +01:00
parent 6d24d50df6
commit 6aaa601239
7 changed files with 79 additions and 0 deletions
@@ -0,0 +1,14 @@
open class SuperClass(val arg: () -> String)
object obj {
fun foo(): String {
return "OK"
}
class Foo : SuperClass(::foo)
}
fun box(): String {
return obj.Foo().arg()
}