mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
// FILE: JavaAnn.java
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@interface JavaAnn {
|
||||
String value();
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@JavaAnn("value") class MyClass
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user