aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/sampleByShortName.kt
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-18 16:48:03 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-01-18 16:48:03 +0300
commit372e9c796cc77aaff788df56a13deeef64b6edd7 (patch)
treed43ce5275c5852f88ff8b466d34533504a50487a /core/testdata/format/sampleByShortName.kt
parentf4f7642c90fef06f04cadc57835ed431ace69802 (diff)
downloaddokka-372e9c796cc77aaff788df56a13deeef64b6edd7.tar.gz
dokka-372e9c796cc77aaff788df56a13deeef64b6edd7.tar.bz2
dokka-372e9c796cc77aaff788df56a13deeef64b6edd7.zip
KT-15497 Dokka: Using of not-FQ name in @sample should be allowed
Diffstat (limited to 'core/testdata/format/sampleByShortName.kt')
-rw-r--r--core/testdata/format/sampleByShortName.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/testdata/format/sampleByShortName.kt b/core/testdata/format/sampleByShortName.kt
new file mode 100644
index 00000000..2e03310f
--- /dev/null
+++ b/core/testdata/format/sampleByShortName.kt
@@ -0,0 +1,12 @@
+package test
+
+fun sample() {
+ println("sample")
+}
+
+/**
+ * @sample sample
+ */
+fun use() {
+
+} \ No newline at end of file