aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/memberExtension.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/format/memberExtension.kt')
-rw-r--r--core/testdata/format/memberExtension.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/testdata/format/memberExtension.kt b/core/testdata/format/memberExtension.kt
new file mode 100644
index 00000000..955794d1
--- /dev/null
+++ b/core/testdata/format/memberExtension.kt
@@ -0,0 +1,8 @@
+open class X
+
+class Foo : X
+
+class Bar {
+ fun X.y() = ""
+ fun Foo.x() = ""
+}