diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
| commit | 4c8b24812ddcd1dedaca343a6d4e76f91f398981 (patch) | |
| tree | 137ebebcae16fb0ce7ab4af456992bbd8d22fced /test/SemaObjC/conditional-expr-3.m | |
| parent | 5362a71c02e7d448a8ce98cf00c47e353fba5d04 (diff) | |
Notes
Diffstat (limited to 'test/SemaObjC/conditional-expr-3.m')
| -rw-r--r-- | test/SemaObjC/conditional-expr-3.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaObjC/conditional-expr-3.m b/test/SemaObjC/conditional-expr-3.m index 31d4834ff0af..9f1ee68c6f94 100644 --- a/test/SemaObjC/conditional-expr-3.m +++ b/test/SemaObjC/conditional-expr-3.m @@ -51,15 +51,15 @@ void f7(int cond, id x, A *a) { } void f8(int cond, id<P0,P1> x0, id<P0,P2> x1) { - barP0(cond ? x0 : x1); + barP0(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}} } void f9(int cond, id<P0,P1> x0, id<P0,P2> x1) { - barP1(cond ? x0 : x1); + barP1(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}} } void f10(int cond, id<P0,P1> x0, id<P0,P2> x1) { - barP2(cond ? x0 : x1); + barP2(cond ? x0 : x1); // expected-warning {{incompatible operand types ('id<P0,P1>' and 'id<P0,P2>')}} } int f11(int cond, A* a, B* b) { |
