summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/conditional-expr-4.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/conditional-expr-4.m')
-rw-r--r--test/SemaObjC/conditional-expr-4.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/conditional-expr-4.m b/test/SemaObjC/conditional-expr-4.m
index 84652e4..b3317f5 100644
--- a/test/SemaObjC/conditional-expr-4.m
+++ b/test/SemaObjC/conditional-expr-4.m
@@ -26,7 +26,7 @@ A *f1_a(int cond, A *a) {
}
void *f1_const_a(int x, void *p, const A * q) {
- void *r = x ? p : q; // expected-warning{{initializing 'void const *' discards qualifiers, expected 'void *'}}
+ void *r = x ? p : q; // expected-warning{{initializing 'void *' with an expression of type 'void const *' discards qualifiers}}
return r;
}
OpenPOWER on IntegriCloud