aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/classes/companionObjectExtension.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/classes/companionObjectExtension.kt')
-rw-r--r--core/testdata/classes/companionObjectExtension.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/testdata/classes/companionObjectExtension.kt b/core/testdata/classes/companionObjectExtension.kt
new file mode 100644
index 00000000..4b471376
--- /dev/null
+++ b/core/testdata/classes/companionObjectExtension.kt
@@ -0,0 +1,10 @@
+class Foo {
+ companion object Default {
+ }
+}
+
+
+/**
+ * The def
+ */
+val Foo.Default.x: Int get() = 1