[NoArg] Add test for KT-53122
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
// ISSUE: KT-53122
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// MODULE: annotations
|
||||
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class NoArg
|
||||
|
||||
// MODULE: a(annotations)
|
||||
|
||||
@NoArg
|
||||
abstract class Base(val x: Int)
|
||||
|
||||
// MODULE: b(a, annotations)
|
||||
|
||||
@NoArg
|
||||
abstract class Derived(x: Int) : Base(x)
|
||||
|
||||
fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user