incomparable_types.invalid.mj 181 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
class TypeA{}
class TypeB{}

class Foo {
  public static void main(String[] args) {
      TypeA a = new TypeA();
      TypeB b = new TypeB();
    if (a == b) {
        
    }
  }
}