regression test for obsolete issue KT-4142

This commit is contained in:
Dmitry Jemerov
2015-03-24 19:14:18 +01:00
parent 5370073c05
commit 4f0cf2f918
2 changed files with 22 additions and 0 deletions
@@ -0,0 +1,16 @@
open class B {
val name: String
get() = "OK"
}
trait A {
val name: String
}
class C : B(), A {
}
fun box(): String {
return C().name
}