Lines Matching refs:P0
3 @protocol P0 protocol
10 @interface A <P0>
17 void barP0(id<P0> x);
26 id<P0> l = a;
30 …id<P0> l = x; // expected-warning {{initializing 'id<P0>' with an expression of incompatible type …
46 bar(cond ? (id<P0, P1>) x : a);
50 bar(cond ? a : (id<P0, P1>) x);
53 void f8(int cond, id<P0,P1> x0, id<P0,P2> x1) {
54 …barP0(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2…
57 void f9(int cond, id<P0,P1> x0, id<P0,P2> x1) {
58 …barP1(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2…
61 void f10(int cond, id<P0,P1> x0, id<P0,P2> x1) {
62 …barP2(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2…