[K2] Add test to check deprecation reporting from java static method

#KT-57785 Can't Reproduce
This commit is contained in:
Ivan Kylchik
2023-12-27 18:23:48 +01:00
committed by Space Team
parent 8236fc245b
commit 672c945895
7 changed files with 57 additions and 0 deletions
@@ -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<!>()
}