[KLIB tool] Update KLIB metadata dump tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
f9f97f2050
commit
07767f88e2
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
library {
|
||||
// module name: <enum.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/EnumArray
|
||||
// class name: test/JustEnum
|
||||
// class name: test/Weapon
|
||||
|
||||
@test/JustEnum(weapon = test/Weapon.SCISSORS)
|
||||
@test/EnumArray(enumArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
@test/EnumArray(enumArray = [test/Weapon.PAPER, test/Weapon.ROCK])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/EnumArray : kotlin/Annotation {
|
||||
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
public final get
|
||||
}
|
||||
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
public final val weapon: test/Weapon
|
||||
public final get
|
||||
}
|
||||
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ROCK,
|
||||
|
||||
PAPER,
|
||||
|
||||
SCISSORS,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user