Test for obsolete KT-4860

#KT-4860 Obsolete
This commit is contained in:
Michael Bogdanov
2015-10-21 14:36:04 +03:00
parent 55d2300860
commit 4dcf940756
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,12 @@
open class A private constructor() {
companion object : A() {
}
class B: A()
}
fun box(): String {
val a = A
val b = A.B()
return "OK"
}