void () { doTest(""" class Foo { } interface Bar { } final class Main213 { static void x(Foo f, Bar b) { if (f instanceof /*'instanceof' of expression with type 'Foo' with incompatible interface 'Bar'*/Bar/**/) { System.out.println("fail"); } if (b instanceof /*'instanceof' of expression with type 'Bar' with incompatible class 'Foo'*/Foo/**/) { System.out.println("fail"); } } }"""); }