aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/deprecated.kt6
-rw-r--r--test/data/functions/annotatedFunctionWithAnnotationParameters.kt8
2 files changed, 10 insertions, 4 deletions
diff --git a/test/data/format/deprecated.kt b/test/data/format/deprecated.kt
index 9ee2c1d6..4fc568c2 100644
--- a/test/data/format/deprecated.kt
+++ b/test/data/format/deprecated.kt
@@ -1,5 +1,5 @@
-deprecated("This class sucks") class C() { }
+@Deprecated("This class sucks") class C() { }
-deprecated("This function sucks") fun f() { }
+@Deprecated("This function sucks") fun f() { }
-deprecated("This property sucks") val p: Int get() = 0
+@Deprecated("This property sucks") val p: Int get() = 0
diff --git a/test/data/functions/annotatedFunctionWithAnnotationParameters.kt b/test/data/functions/annotatedFunctionWithAnnotationParameters.kt
index ee5b524a..e3bc45c9 100644
--- a/test/data/functions/annotatedFunctionWithAnnotationParameters.kt
+++ b/test/data/functions/annotatedFunctionWithAnnotationParameters.kt
@@ -1 +1,7 @@
-inlineOptions(InlineOption.LOCAL_CONTINUE_AND_BREAK) fun f() {}
+@Target(AnnotationTarget.VALUE_PARAMETER)
+@Retention(AnnotationRetention.SOURCE)
+@MustBeDocumented
+public annotation class Fancy(val size: Int)
+
+
+Fancy(1) fun f() {}