tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package test
|
||||
|
||||
interface A {
|
||||
public val c: String
|
||||
get() = "OK"
|
||||
}
|
||||
|
||||
interface B {
|
||||
private val c: String
|
||||
get() = "FAIL"
|
||||
}
|
||||
|
||||
open class C {
|
||||
private val c: String = "FAIL"
|
||||
}
|
||||
|
||||
open class D: C(), A, B {
|
||||
val b = c
|
||||
}
|
||||
|
||||
fun box() : String {
|
||||
return D().c
|
||||
}
|
||||
Reference in New Issue
Block a user