aboutsummaryrefslogtreecommitdiff
path: root/test/data/functions/functionWithAnnotatedParam.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/functions/functionWithAnnotatedParam.kt')
-rw-r--r--test/data/functions/functionWithAnnotatedParam.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/data/functions/functionWithAnnotatedParam.kt b/test/data/functions/functionWithAnnotatedParam.kt
index 640bec83..f858e671 100644
--- a/test/data/functions/functionWithAnnotatedParam.kt
+++ b/test/data/functions/functionWithAnnotatedParam.kt
@@ -1,2 +1,7 @@
-fun function(noinline notInlined: () -> Unit) {
+@Target(AnnotationTarget.VALUE_PARAMETER)
+@Retention(AnnotationRetention.SOURCE)
+@MustBeDocumented
+public annotation class Fancy
+
+fun function(@Fancy notInlined: () -> Unit) {
}