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