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