ProhibitRepeatedUseSiteTargetAnnotationsMigrationInspection: add test

#KT-36257
This commit is contained in:
Dmitry Gridin
2020-02-12 11:44:38 +07:00
parent 09e6ffdb0a
commit f8a21340d0
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,10 @@
// LANGUAGE_VERSION: 1.4
// PROBLEM: none
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class Ann(val n: Int)
@get:Ann(10)<caret>
val a: String
@Ann(20) get() = "foo"