AddAnnotationTargetTest: replace retention annotation if needed

This fixes testExpression3 from this test group
This commit is contained in:
Mikhail Glukhikh
2018-09-12 17:21:20 +03:00
parent 2bba4f5aa8
commit 39d28f1c92
2 changed files with 10 additions and 7 deletions
@@ -1,6 +1,6 @@
// "Add annotation target" "true"
@Target(AnnotationTarget.EXPRESSION)
@Retention
@Retention(AnnotationRetention.SOURCE)
annotation class Foo
fun test() {