[FE] Add tests for 'containingClassForStaticMemberAttr'
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// MODULE: lib
|
||||
// FILE: test/J.java
|
||||
package test;
|
||||
|
||||
interface I {
|
||||
// Not a String to avoid constant inlining
|
||||
public static String[] OK = new String[]{"OK"};
|
||||
}
|
||||
|
||||
public class J implements I {}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: k.kt
|
||||
import test.J
|
||||
|
||||
fun test() {
|
||||
J.<!DEBUG_INFO_CALLABLE_OWNER("test.J.OK in test.J")!>OK<!>
|
||||
}
|
||||
Reference in New Issue
Block a user