mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
Similarly to how it's done in the old backend (see PackageCodegenImpl.generateClassesAndObjectsInFile and AnnotationCodegen.genAnnotation)
13 lines
408 B
Kotlin
Vendored
13 lines
408 B
Kotlin
Vendored
// !LANGUAGE: +MultiPlatformProjects
|
|
// !USE_EXPERIMENTAL: kotlin.ExperimentalMultiplatform
|
|
// WITH_RUNTIME
|
|
|
|
@file:Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE") // TODO: support common sources in the test infrastructure
|
|
|
|
@OptionalExpectation
|
|
expect annotation class Anno(val s: String)
|
|
|
|
// TESTED_OBJECT_KIND: class
|
|
// TESTED_OBJECTS: Anno
|
|
// FLAGS: ACC_INTERFACE, ACC_ABSTRACT, ACC_ANNOTATION
|