summaryrefslogtreecommitdiff
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 2d042380582e1..04df5031ab474 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> *' from a function with result type 'UIWebPDFView *'}}
+ return pdfView ? pdfView : browserView; // expected-warning {{incompatible pointer types returning 'UIView *' from a function with result type 'UIWebPDFView *'}}
}