[TEST] Migrate AbstractDiagnosticsWithExplicitApi to new test runners
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
// SKIP_TXT
|
||||
|
||||
interface I1 {
|
||||
fun i()
|
||||
}
|
||||
|
||||
public interface I2 {
|
||||
fun i()
|
||||
}
|
||||
|
||||
public interface I3 {
|
||||
public fun i()
|
||||
public val v: Int
|
||||
}
|
||||
|
||||
public interface I4 {
|
||||
public fun i(): Int
|
||||
public val v: Int
|
||||
}
|
||||
|
||||
public class Impl: I3 {
|
||||
override fun i() {}
|
||||
override val v: Int
|
||||
get() = 10
|
||||
}
|
||||
|
||||
public class Impl2: I4 {
|
||||
override fun i() = 10
|
||||
override val v = 10
|
||||
}
|
||||
|
||||
private class PrivateImpl: I4 {
|
||||
override fun i() = 10
|
||||
override val v = 10
|
||||
}
|
||||
Reference in New Issue
Block a user