Files
kotlin-fork/compiler/testData/multiplatform/optionalExpectation/common.kt
T
Roman Efremov 1a4ab9bb4b [FE] Implement FE logic of expect actual annotations matching
This implementation only checks annotations set on expect/actual
declarations and requires further refinement (e.g. checking of other
annotation targets, class scopes within typealiases).

^KT-58551
2023-07-24 09:48:48 +00:00

11 lines
175 B
Kotlin
Vendored

// WITH_STDLIB
// ADDITIONAL_COMPILER_ARGUMENTS: -opt-in=kotlin.ExperimentalMultiplatform
@OptionalExpectation
expect annotation class A()
class C {
@A
fun f() {}
}