aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/inheritedMembers.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/format/inheritedMembers.kt')
-rw-r--r--test/data/format/inheritedMembers.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/data/format/inheritedMembers.kt b/test/data/format/inheritedMembers.kt
new file mode 100644
index 00000000..2d0c4ca1
--- /dev/null
+++ b/test/data/format/inheritedMembers.kt
@@ -0,0 +1,12 @@
+open class Foo {
+ fun first() {
+ }
+
+ val firstProp: Int = 0
+}
+
+class Bar : Foo() {
+ fun second()
+
+ val secondProp: Int = 1
+}