Minor, add test for obsolete issue

#KT-4228 Obsolete
This commit is contained in:
Alexander Udalov
2014-12-24 19:18:17 +03:00
parent 18a536c846
commit 11dfdfc123
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,14 @@
class A {
class object
}
val foo: Any.() -> Unit = {}
fun test() {
A.(foo)()
}
fun box(): String {
test()
return "OK"
}