1 // REQUIRES: x86-64-registered-target 2 // RUN: %clang_cc1 -fno-dwarf2-cfi-asm -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S -g %s -o - | FileCheck %s 3 4 //CHECK: "-[InstanceVariablesEverywhereButTheInterface someString]": 5 //CHECK: .quad "-[InstanceVariablesEverywhereButTheInterface someString]" 6 //CHECK: .ascii "-[InstanceVariablesEverywhereButTheInterface someString]" 7 //CHECK: .asciz "-[InstanceVariablesEverywhereButTheInterface someString]" 8 //CHECK: "-[InstanceVariablesEverywhereButTheInterface someString].eh": 9 10 //rdar: //8498026 11 12 @class NSString; 13 14 @interface InstanceVariablesEverywhereButTheInterface 15 @end 16 17 @interface InstanceVariablesEverywhereButTheInterface() 18 { 19 NSString *_someString; 20 } 21 22 @property(readonly) NSString *someString; 23 @property(readonly) unsigned long someNumber; 24 @end 25 26 @implementation InstanceVariablesEverywhereButTheInterface 27 { 28 unsigned long _someNumber; 29 } 30 31 @synthesize someString = _someString, someNumber = _someNumber; 32 33 - init { 34 return self; 35 } 36 @end 37 38 @interface AutomaticSynthesis 39 { 40 int real_ivar; 41 } 42 @property(copy) NSString *someString; 43 @property unsigned long someNumber; 44 @end 45 46 @implementation AutomaticSynthesis 47 @synthesize someString; 48 @synthesize someNumber; 49 - init 50 { 51 return self; 52 } 53 @end 54 55 int main() 56 { 57 return 0; 58 } 59