summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/call-super-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/call-super-2.m')
-rw-r--r--test/SemaObjC/call-super-2.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/call-super-2.m b/test/SemaObjC/call-super-2.m
index 043314d..84a625c 100644
--- a/test/SemaObjC/call-super-2.m
+++ b/test/SemaObjC/call-super-2.m
@@ -35,7 +35,7 @@ id objc_getClass(const char *s);
@implementation Derived
+ (int) class_func1
{
- int i = (size_t)[self class_func0]; // expected-warning {{method '-class_func0' not found (return type defaults to 'id')}}
+ int i = (size_t)[self class_func0]; // expected-warning {{method '+class_func0' not found (return type defaults to 'id')}}
return i + (size_t)[super class_func0]; // expected-warning {{method '+class_func0' not found (return type defaults to 'id')}}
}
+ (int) class_func2
OpenPOWER on IntegriCloud