[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,11 @@
interface A {
fun visit(a:Int, b:String="") : String = b + a
}
class B : A {
override fun visit(a:Int, b:String) : String = b + a
}
class C : A {
override fun visit(a:Int) : String = "" + a
}
@@ -0,0 +1,28 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER -ABSTRACT_SUPER_CALL
abstract class A {
open fun foo(a: String = "default") {
}
final fun foo2(a: String = "default") {
}
abstract fun foo3(a: String = "default")
}
open class B : A() {
fun test() {
super.foo("123")
super.foo()
super.foo2("123")
super.foo2()
super.foo3("123")
super.foo3()
}
override fun foo3(a: String) {
throw UnsupportedOperationException()
}
}