mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
127 B
Kotlin
14 lines
127 B
Kotlin
open class A {
|
|
|
|
open fun f(x: Int = 0) = x
|
|
|
|
}
|
|
|
|
class B : A() {
|
|
|
|
override fun f(x: Int) = x + 1
|
|
|
|
fun user() = this.f()
|
|
|
|
}
|