1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
8 lines
141 B
Kotlin
8 lines
141 B
Kotlin
interface A {
|
|
fun foo(x: Int, y: Int = x + 20, z: Int = y * 2) = z
|
|
}
|
|
|
|
class B : A {}
|
|
|
|
fun box() = if (B().foo(1) == 42) "OK" else "Fail"
|