blob: cc7c165890746a0c5c8a79dc872639346d30c126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// "Remove annotation" "true"
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
@RequiresOptIn
@Target(AnnotationTarget.LOCAL_VARIABLE)
annotation class SomeOptInAnnotation
fun foo() {
<caret>@SomeOptInAnnotation
var x: Int
}
|