summaryrefslogtreecommitdiff
path: root/output/negative/NonDistinctTypes-error.java
blob: 9909e91fbfcf962d6fcf00ad8426e7e6ad48c2e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class StealMainArg {
    public static void main(String[] z) {
        A a ;
        a = new A() ;
        System.out.println(a.foo(3)) ;
    }
}

class A {

    int b ;
    boolean b ;

    public int foo(int a) {
        return a ;
    }
}