aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pureJava/PR413.java
blob: 5d86041c3a5b455bf8eae411a304ca337c2d5ce0 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
public class PR413 {
    public static void main(String[] args) {
        new PR413().realMain(args);
    }
    public void realMain(String[] args) {
    }
    
    public PR413() {
    }
}

interface Interface {
  public static class InnerClass {}

    public static int field = 2;
}
abstract class Abstract {
  public static class InnerClass {}

    public static double field = 3.14;
}
abstract class AbstractConflictingClass
    extends Abstract 
    implements Interface
{
}

class NonAbstractConflictingClass
    extends Abstract 
    implements Interface
{
}
class NonAbstractClass implements Interface {
    public static class InnerClass {}
}
class NonAbstractExtendingClass extends Abstract {
    public static class InnerClass {}
}
abstract class AbstractConflictingClassThatRedefinesInnerClass
    extends Abstract 
    implements Interface
{
    public static class InnerClass {}
}

class NonAbstractConflictingClassThatRedefinesInnerClass
    extends Abstract 
    implements Interface               
{
    public static class InnerClass {}
}