blob: fb5d4d363d2a746aef802c439afc6787ecd70c71 (
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 = 0
}
|