Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData
This commit is contained in:
committed by
Alexander Udalov
parent
2564a2f91f
commit
22bfc9786a
+3
-1
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
const val z = "OK"
|
||||
|
||||
annotation class A(val value: String = z)
|
||||
@@ -7,4 +9,4 @@ class Test
|
||||
|
||||
fun box(): String {
|
||||
return Test::class.java.getAnnotation(A::class.java).value
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user