aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/inheritedCompanionObjectProperties.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/format/inheritedCompanionObjectProperties.kt')
-rw-r--r--core/testdata/format/inheritedCompanionObjectProperties.kt18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/testdata/format/inheritedCompanionObjectProperties.kt b/core/testdata/format/inheritedCompanionObjectProperties.kt
new file mode 100644
index 00000000..74a3749c
--- /dev/null
+++ b/core/testdata/format/inheritedCompanionObjectProperties.kt
@@ -0,0 +1,18 @@
+open class A {
+ fun foo() {
+ }
+}
+
+open class B {
+ fun bar() {
+ }
+}
+
+class C : A {
+ fun xyzzy() {
+ }
+
+ companion object : B () {
+ fun shazam()
+ }
+}