aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/PR20697.java
blob: 56efb1d36b7969de1829b3e6a11d601d277d66b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
public class PR20697
{
    public interface I
    {
        public void m();
    }

    public static class A2 implements I
    {
        public void m()
        {
            return;
        }
    }
    
}

class Test extends PR20697.A2
{
    public void m()
    {
        return;
    }

    public void n()
    {
        m();
    }
}