mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-18 06:54:07 +08:00
ab3ec830b3
PR libgcj/12416: * libjava.lang/PR12416.out: New file. * libjava.lang/PR12416.java: New file. From-SVN: r72817
23 lines
331 B
Java
23 lines
331 B
Java
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]);
|
|
}
|
|
}
|
|
}
|