[K2] Add test to check deprecation reporting from java static method
#KT-57785 Can't Reproduce
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: JavaClass.java
|
||||
public class JavaClass {
|
||||
/**
|
||||
* @deprecated Deprecation message
|
||||
*/
|
||||
public static void foo() {}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
fun main() {
|
||||
JavaClass.<!DEPRECATION!>foo<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user