blob: d2e4ad0c366592f8dc528c6534eb6fc3535e67d2 [file] [log] [blame]
Vsevolod Tolstopyatov74bcc922018-05-03 20:07:54 +03001/*
Roman Elizarov1f74a2d2018-06-29 19:19:45 +03002 * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
Vsevolod Tolstopyatov74bcc922018-05-03 20:07:54 +03003 */
4
5package cases.interfaces
6
7public interface BaseWithImpl {
8 fun foo() = 42
9}
10
11public interface DerivedWithImpl : BaseWithImpl {
12 override fun foo(): Int {
13 return super.foo() + 1
14 }
15}
16
17public interface DerivedWithoutImpl : BaseWithImpl
18