summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/comptypes-6.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/comptypes-6.m')
-rw-r--r--test/SemaObjC/comptypes-6.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/comptypes-6.m b/test/SemaObjC/comptypes-6.m
index 2911a39..98cf488 100644
--- a/test/SemaObjC/comptypes-6.m
+++ b/test/SemaObjC/comptypes-6.m
@@ -9,7 +9,7 @@ extern Object* foo(void);
static Derived *test(void)
{
- Derived *m = foo(); // expected-warning {{incompatible pointer types initializing 'Object *', expected 'Derived *'}}
+ Derived *m = foo(); // expected-warning {{incompatible pointer types initializing 'Derived *' with an expression of type 'Object *'}}
return m;
}
OpenPOWER on IntegriCloud