a5e4e0284e
This patch mutes the following test categories:
* Tests with java dependencies (System class,
java stdlib, jvm-oriented annotations etc).
* Coroutines tests.
* Reflection tests.
* Tests with an inheritance from the standard
collections.
29 lines
497 B
Kotlin
Vendored
29 lines
497 B
Kotlin
Vendored
// IGNORE_BACKEND: NATIVE
|
|
// FILE: A.kt
|
|
|
|
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package a
|
|
|
|
annotation class A
|
|
|
|
@A
|
|
const val OK: String = "OK"
|
|
|
|
// FILE: B.kt
|
|
|
|
import a.OK
|
|
|
|
fun box(): String {
|
|
val okRef = ::OK
|
|
|
|
// TODO: see KT-10892
|
|
// val annotations = okRef.annotations
|
|
// val numAnnotations = annotations.size
|
|
// if (numAnnotations != 1) {
|
|
// throw AssertionError("Failed, annotations: $annotations")
|
|
// }
|
|
|
|
val result = okRef.get()
|
|
return result
|
|
}
|