summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR12416.java
blob: 157d4e6954de8c3466f7397955c561915335a0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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]);
	}
    }
}