diff options
Diffstat (limited to 'test/CodeGenObjC/hidden-synthesized-ivar.m')
-rw-r--r-- | test/CodeGenObjC/hidden-synthesized-ivar.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGenObjC/hidden-synthesized-ivar.m b/test/CodeGenObjC/hidden-synthesized-ivar.m new file mode 100644 index 0000000..50a87cb --- /dev/null +++ b/test/CodeGenObjC/hidden-synthesized-ivar.m @@ -0,0 +1,13 @@ +// RUN: clang-cc -fvisibility=hidden -triple x86_64-apple-darwin10 -S -o - %s | grep -e "private_extern _OBJC_IVAR_" +@interface I +{ + int P; +} + +@property int P; +@end + +@implementation I +@synthesize P; +@end + |