[FIR-TEST] Add new testdata generated after changes in previous commit

This commit is contained in:
Dmitriy Novozhilov
2019-12-11 16:16:22 +03:00
parent e9c02a1cca
commit 2536fa0cd5
4578 changed files with 104067 additions and 1 deletions
@@ -0,0 +1,85 @@
package b
open class A {
internal open fun foo() {}
}
class B : A() {
protected override fun foo() {}
}
class C : A() {
internal override fun foo() {}
}
//------------
open class D {
private open fun self() : D = this
}
class E : D() {
internal override fun self() = this
fun test() {
val s : E = self()
}
}
//------------
open class F {
protected open fun protected_fun() {}
}
class G : F() {
override fun protected_fun() {}
}
fun test_fun_stays_protected(g: G) {
g.protected_fun()
}
//------------
open class H {
protected open fun pi_fun() {}
}
class I : H() {
protected override fun pi_fun() {}
}
class J : H() {
internal override fun pi_fun() {}
}
class K : H() {
public override fun pi_fun() {}
}
//-------------
interface T {
public fun foo() {}
}
open class L : T {
override fun foo() {}
}
class M : L() {
internal override fun foo() {}
}
//---------------
interface R {
fun foo() {}
}
interface P : R {
override fun foo() {}
}
interface Q : R {
override fun foo() {}
}
class S : P, Q {
internal override fun foo() {}
}