wrong_ident_type_parameter.invalid.mj 179 Bytes
Newer Older
ufebl's avatar
ufebl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class Main {
    public static void main(String[] arguments) {
        A a = new A();
        a.foo(new B());
    }
}

class A {
    public void foo(A a) {

    }
}

class B {

}