From 1c6d36df311f94390c0fe0a042911d608feb41c4 Mon Sep 17 00:00:00 2001 From: tromey Date: Wed, 22 Oct 2003 19:28:15 +0000 Subject: [PATCH] PR libgcj/12416: * libjava.lang/PR12416.out: New file. * libjava.lang/PR12416.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72817 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/ChangeLog | 4 ++++ libjava/testsuite/libjava.lang/PR12416.java | 22 ++++++++++++++++++++++ libjava/testsuite/libjava.lang/PR12416.out | 1 + 3 files changed, 27 insertions(+) create mode 100644 libjava/testsuite/libjava.lang/PR12416.java create mode 100644 libjava/testsuite/libjava.lang/PR12416.out diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 884a112..74e4a64 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2003-10-22 Tom Tromey + PR libgcj/12416: + * libjava.lang/PR12416.out: New file. + * libjava.lang/PR12416.java: New file. + PR libgcj/12656: * libjava.lang/PR12656.java: New file. * libjava.lang/PR12656.out: New file. diff --git a/libjava/testsuite/libjava.lang/PR12416.java b/libjava/testsuite/libjava.lang/PR12416.java new file mode 100644 index 0000000..157d4e6 --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR12416.java @@ -0,0 +1,22 @@ +interface A +{ + int a = 0; +} +interface B extends A +{ +} +interface C extends A +{ +} + +public class PR12416 implements B, C +{ + static public void main (String[] unused) + { + java.lang.reflect.Field[] fields = PR12416.class.getFields(); + + for (int i = 0; i != fields.length; ++i) { + System.out.println (fields[i]); + } + } +} diff --git a/libjava/testsuite/libjava.lang/PR12416.out b/libjava/testsuite/libjava.lang/PR12416.out new file mode 100644 index 0000000..6a0ed8b --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR12416.out @@ -0,0 +1 @@ +public static final int A.a -- 2.7.4