summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/protocol-warn.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/protocol-warn.m')
-rw-r--r--test/SemaObjC/protocol-warn.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/protocol-warn.m b/test/SemaObjC/protocol-warn.m
index d0c51e3..2d04238 100644
--- a/test/SemaObjC/protocol-warn.m
+++ b/test/SemaObjC/protocol-warn.m
@@ -51,5 +51,5 @@ UIWebPDFView *getView()
{
UIWebBrowserView *browserView;
UIWebPDFView *pdfView;
- return pdfView ? pdfView : browserView; // expected-warning {{incompatible pointer types returning 'UIView<NSObject> *', expected 'UIWebPDFView *'}}
+ return pdfView ? pdfView : browserView; // expected-warning {{incompatible pointer types returning 'UIView<NSObject> *' from a function with result type 'UIWebPDFView *'}}
}
OpenPOWER on IntegriCloud