[KLIB][tests] Reorganize "klib dump-metadata" tests
- Keep the test data under "native/native.tests/testData/klib/" dir - Rename tests from "klib contents" to "klib dump-metadata"
This commit is contained in:
committed by
Space Team
parent
ec9370c30b
commit
cb92990ed6
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
import kotlin.annotation.AnnotationTarget.*
|
||||
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@Target(CLASS, CONSTRUCTOR, FUNCTION, PROPERTY, VALUE_PARAMETER, TYPE, TYPE_PARAMETER)
|
||||
annotation class A
|
||||
|
||||
@A
|
||||
class Klass @A constructor()
|
||||
|
||||
@A
|
||||
fun <@A T> function(@A param: Unit): @A Unit {}
|
||||
|
||||
@A
|
||||
val property = Unit
|
||||
|
||||
enum class Enum {
|
||||
@A
|
||||
ENTRY
|
||||
}
|
||||
Reference in New Issue
Block a user