Files
kotlin/compiler/testData/codegen/bytecodeListing/annotations/kt9320.kt

12 lines
213 B
Kotlin
Vendored

annotation class Ann
@Ann open class My
@Target(AnnotationTarget.EXPRESSION)
annotation class AnnExpr
fun foo() {
val v = @Ann @AnnExpr object: My() {}
val w = @Ann @AnnExpr { v: My -> v.hashCode() }
}