diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-13 17:55:01 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-07-13 17:55:01 +0000 |
| commit | 17585e7940e35628a349ae70a45f3b0061be44d6 (patch) | |
| tree | 305c1c35fb253b9af3d806cd6cdc669b57fcc49c /clang/test/SemaObjC/property-inherited.m | |
| parent | 7dcd1354f19f39dc28e5c83fe45cb3b05371ff36 (diff) | |
| download | bcm5719-llvm-17585e7940e35628a349ae70a45f3b0061be44d6.tar.gz bcm5719-llvm-17585e7940e35628a349ae70a45f3b0061be44d6.zip | |
objc++: Some level of covariance is allowed in ObjC properties.
Make it also available in ObjC++ propeties. Use common code for
objc and objc++ so they don't diverge. // rdar://9740328
llvm-svn: 135050
Diffstat (limited to 'clang/test/SemaObjC/property-inherited.m')
| -rw-r--r-- | clang/test/SemaObjC/property-inherited.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/property-inherited.m b/clang/test/SemaObjC/property-inherited.m index 5c5631e6fb8..11ef2befa99 100644 --- a/clang/test/SemaObjC/property-inherited.m +++ b/clang/test/SemaObjC/property-inherited.m @@ -1,6 +1,8 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify +// RUN: %clang_cc1 -x objective-c++ %s -fsyntax-only -verify -// <rdar://problem/6497242> Inherited overridden protocol declared objects don't work +// rdar://6497242 Inherited overridden protocol declared objects don't work +// rdar://9740328 Case for c++ @protocol NSObject @end @interface NSObject @end |

