diff options
Diffstat (limited to 'test/SemaObjC/synthesized-ivar.m')
-rw-r--r-- | test/SemaObjC/synthesized-ivar.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/SemaObjC/synthesized-ivar.m b/test/SemaObjC/synthesized-ivar.m new file mode 100644 index 000000000000..de44857934fc --- /dev/null +++ b/test/SemaObjC/synthesized-ivar.m @@ -0,0 +1,13 @@ +// RUN: clang-cc -fsyntax-only -triple x86_64-apple-darwin9 -verify %s +@interface I +{ +} +@property int IP; +@end + +@implementation I +@synthesize IP; +- (int) Meth { + return IP; +} +@end |