jvm-abi-gen: always keep annotation classes

This commit is contained in:
Steven Schäfer
2021-02-09 10:51:57 +01:00
committed by Alexander Udalov
parent c9b0cc5b32
commit c156613141
6 changed files with 104 additions and 1 deletions
@@ -0,0 +1,23 @@
package test
@Retention(AnnotationRetention.SOURCE)
private annotation class A1(val x: Int)
@Retention(AnnotationRetention.BINARY)
private annotation class A2(val x: Int)
@Retention(AnnotationRetention.RUNTIME)
private annotation class A3(val x: Int)
@Retention(AnnotationRetention.SOURCE)
annotation class B1(val x: Int)
@Retention(AnnotationRetention.BINARY)
annotation class B2(val x: Int)
@Retention(AnnotationRetention.RUNTIME)
annotation class B3(val x: Int)
@A1(0) @A2(1) @A3(2) class T1
@B1(0) @B2(1) @B3(2) class T2