blob: db5124b81fb6a508329fdac79400483bb6e0da42 [file]
// FILE: kt3698.java
package test;
public class kt3698 {
@interface Foo {
int value();
}
@Foo(KotlinClass.FOO) // Error here
public static void main(String[] args) {
System.out.println(KotlinClass.FOO);
}
}
// FILE: kt3698.kt
package test
class KotlinClass {
companion object {
const val FOO: Int = 10
}
}