35 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o %t2// RUN: grep DW_TAG_member %t | count 53 4@class NSString;5 6@interface InstanceVariablesEverywhereButTheInterface 7@end8 9@interface InstanceVariablesEverywhereButTheInterface()10{11 NSString *_someString;12}13 14@property(readonly) NSString *someString;15@property(readonly) unsigned long someNumber;16@end17 18@implementation InstanceVariablesEverywhereButTheInterface19{20 unsigned long _someNumber;21}22@synthesize someString = _someString, someNumber = _someNumber;23@end24 25@interface AutomaticSynthesis26{27 int real_ivar;28}29@property(copy) NSString *someString;30@property unsigned long someNumber;31@end32 33@implementation AutomaticSynthesis34@end35