diff options
Diffstat (limited to 'test/SemaObjC/call-super-2.m')
-rw-r--r-- | test/SemaObjC/call-super-2.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/call-super-2.m b/test/SemaObjC/call-super-2.m index 92bec27c67835..a481cffd2886d 100644 --- a/test/SemaObjC/call-super-2.m +++ b/test/SemaObjC/call-super-2.m @@ -40,8 +40,8 @@ id objc_getClass(const char *s); { int i = [(id <Func>)self class_func0]; i += [(id <Func>)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an expression)}} - i += [(Class <Func>)self class_func0]; // expected-error {{protocol qualified 'Class' is unsupported}} - return i + [(Class <Func>)super class_func0]; // expected-error {{protocol qualified 'Class' is unsupported}} // expected-error {{cannot cast 'super' (it isn't an expression)}} + i += [(Class <Func>)self class_func0]; // + return i + [(Class <Func>)super class_func0]; // // expected-error {{cannot cast 'super' (it isn't an expression)}} } + (int) class_func3 { |