mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
16 lines
337 B
Plaintext
Vendored
16 lines
337 B
Plaintext
Vendored
// "Implement interface" "true"
|
|
// WITH_RUNTIME
|
|
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
|
|
|
interface Base {
|
|
fun foo(x: Int): Int
|
|
|
|
fun bar(y: String) = y
|
|
}
|
|
|
|
class BaseImpl : Base {
|
|
override fun foo(x: Int): Int {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|