gcc/libjava/testsuite/libjava.compile/static_inner.java
Mo DeJong 73bb4fe42a static_inner.java: New file.
2000-02-28  Mo DeJong <mdejong@cygnus.com>

	* libjava.compile/static_inner.java: New file.

From-SVN: r32250
2000-02-29 04:18:35 +00:00

20 lines
281 B
Java

// File Parent.java
class Parent {
public static class Kid {
public Kid(int age) {
this.age = age;
}
int age;
}
}
// File NewParent.java
public class static_inner extends Parent {
public static void main(String[] argv) {
Kid kid = new Kid(2);
}
}