From 73bb4fe42a7bc50629bb9eefecb9ca07563b645a Mon Sep 17 00:00:00 2001 From: Mo DeJong Date: Tue, 29 Feb 2000 04:18:35 +0000 Subject: [PATCH] static_inner.java: New file. 2000-02-28 Mo DeJong * libjava.compile/static_inner.java: New file. From-SVN: r32250 --- libjava/testsuite/ChangeLog | 4 ++++ .../libjava.compile/static_inner.java | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/static_inner.java diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index b59adb59bfe..1cd852415ab 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-02-28 Mo DeJong + + * libjava.compile/static_inner.java: New file. + 2000-02-23 Tom Tromey * libjava.jni/noclass.c: New file. diff --git a/libjava/testsuite/libjava.compile/static_inner.java b/libjava/testsuite/libjava.compile/static_inner.java new file mode 100644 index 00000000000..ca0d99f4c8e --- /dev/null +++ b/libjava/testsuite/libjava.compile/static_inner.java @@ -0,0 +1,19 @@ +// 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); + } + +}