aboutsummaryrefslogtreecommitdiff
path: root/test/data/classes/secondaryConstructor.kt
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-11 20:45:21 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-11 20:45:21 +0100
commit0406a6bce4f461f3ae846911505701324411fa9b (patch)
tree8d13e88b279b2deff03fc59e3489ff02b595fdf8 /test/data/classes/secondaryConstructor.kt
parentd42aece34e81119aae546d4b78fa0ebdb683421d (diff)
downloaddokka-0406a6bce4f461f3ae846911505701324411fa9b.tar.gz
dokka-0406a6bce4f461f3ae846911505701324411fa9b.tar.bz2
dokka-0406a6bce4f461f3ae846911505701324411fa9b.zip
add test to verify that dokka recognizes secondary constructors
Diffstat (limited to 'test/data/classes/secondaryConstructor.kt')
-rw-r--r--test/data/classes/secondaryConstructor.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/data/classes/secondaryConstructor.kt b/test/data/classes/secondaryConstructor.kt
new file mode 100644
index 00000000..e5cb2557
--- /dev/null
+++ b/test/data/classes/secondaryConstructor.kt
@@ -0,0 +1,5 @@
+class C() {
+ /** This is a secondary constructor. */
+ constructor(s: String): this() {
+ }
+}