aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/inheritedCompanionObjectProperties.kt
blob: 74a3749cbf2dbba373b18784b30e5636e6401f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
open class A {
    fun foo() {
    }
}

open class B {
    fun bar() {
    }
}

class C : A {
    fun xyzzy() {
    }

    companion object : B () {
        fun shazam()
    }
}