Lines Matching refs:P1
5 @protocol P1 protocol
18 void barP1(id<P1> x);
29 void f2(id<P1> x) {
30 …= x; // expected-warning {{initializing 'id<P0>' with an expression of incompatible type 'id<P1>'}}
34 …id<P1> l = a; // expected-warning {{initializing 'id<P1>' 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…