mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
import java.lang.annotation.*
|
||||
// FILE: Foo.java
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@interface Foo {
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@Foo class Bar
|
||||
|
||||
fun box(): String {
|
||||
Bar()
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user