mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
Load Java static members from parents
This commit is contained in:
18
compiler/testData/loadJava/compiledJava/static/StaticMembersFromParentClass.java
vendored
Normal file
18
compiler/testData/loadJava/compiledJava/static/StaticMembersFromParentClass.java
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package test;
|
||||
|
||||
class Parent {
|
||||
public static int a = 1;
|
||||
public static int b = 2;
|
||||
public static void foo() {}
|
||||
public static void baz() {}
|
||||
}
|
||||
|
||||
class Child extends Parent {
|
||||
public static String b = "3";
|
||||
public static int c = 4;
|
||||
public static void foo(int i) {}
|
||||
public static void bar() {}
|
||||
public static void bar(int i) {}
|
||||
public static void baz() {}
|
||||
public static void baz(int i) {}
|
||||
}
|
||||
Reference in New Issue
Block a user