Fariborz Jahanian | de744dc | 2010-10-01 21:26:26 +0000 | [diff] [blame^] | 1 | // RUN: %clang -fobjc-abi-version=3 -fverbose-asm -g -S %s -o - | grep DW_AT_name | count 42 |
| 2 | // rdar://8493239 |
| 3 | |
| 4 | @class NSString; |
| 5 | |
| 6 | @interface InstanceVariablesEverywhereButTheInterface |
| 7 | @end |
| 8 | |
| 9 | @interface InstanceVariablesEverywhereButTheInterface() |
| 10 | { |
| 11 | NSString *_someString; |
| 12 | } |
| 13 | |
| 14 | @property(readonly) NSString *someString; |
| 15 | @property(readonly) unsigned long someNumber; |
| 16 | @end |
| 17 | |
| 18 | @implementation InstanceVariablesEverywhereButTheInterface |
| 19 | { |
| 20 | unsigned long _someNumber; |
| 21 | } |
| 22 | @synthesize someString = _someString, someNumber = _someNumber; |
| 23 | @end |
| 24 | |
| 25 | @interface AutomaticSynthesis |
| 26 | { |
| 27 | int real_ivar; |
| 28 | } |
| 29 | @property(copy) NSString *someString; |
| 30 | @property unsigned long someNumber; |
| 31 | @end |
| 32 | |
| 33 | @implementation AutomaticSynthesis |
| 34 | @end |