mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
Test for absence static warnings
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import test.TestPackage;
|
||||
|
||||
// Check absence of 'Static method reference via subclass warning' for kotlin usages
|
||||
public class UsingKotlinPackageDeclarations {
|
||||
public static int test() {
|
||||
TestPackage.foo();
|
||||
TestPackage.setBar(15);
|
||||
return TestPackage.getBar();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user