aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/inheritedMembers.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-10-28 15:23:50 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-10-29 11:57:24 +0100
commit36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc (patch)
treecab9e34dec64cce5cea97bbf9f1bd5e276ac42be /test/data/format/inheritedMembers.kt
parent78455025203b911c855f7cfc0d75270dd7351199 (diff)
downloaddokka-36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc.tar.gz
dokka-36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc.tar.bz2
dokka-36f4b916bc956d8f5c9f6b55d295ea9a69c9f0bc.zip
show inherited members in the list of class members
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
+}