[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:
Dmitriy Dolovov
2023-08-15 15:07:22 +02:00
committed by Space Team
parent ec9370c30b
commit cb92990ed6
54 changed files with 78 additions and 78 deletions
@@ -0,0 +1,13 @@
@JustEnum(weapon = Weapon.SCISSORS) @EnumArray(enumArray = {}) class C1 constructor()
@EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) class C2 constructor()
annotation class EnumArray constructor(enumArray: Array<Weapon>) : Annotation {
val enumArray: Array<Weapon>
}
annotation class JustEnum constructor(weapon: Weapon) : Annotation {
val weapon: Weapon
}
enum class Weapon private constructor() : Enum<Weapon> {
enum entry ROCK
enum entry PAPER
enum entry SCISSORS
}