[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenObjC / debug-info-default-synth-ivar.m
bloba0ce7832fbe36549c9ab94315c8621b898d45308
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -debug-info-kind=limited %s -o %t
2 // RUN: grep DW_TAG_member %t | count 5
4 @class NSString;
6 @interface InstanceVariablesEverywhereButTheInterface 
7 @end
9 @interface InstanceVariablesEverywhereButTheInterface()
11   NSString *_someString;
14 @property(readonly) NSString *someString;
15 @property(readonly) unsigned long someNumber;
16 @end
18 @implementation InstanceVariablesEverywhereButTheInterface
20   unsigned long _someNumber;
22 @synthesize someString = _someString, someNumber = _someNumber;
23 @end
25 @interface AutomaticSynthesis
27   int real_ivar;
29 @property(copy) NSString *someString;
30 @property unsigned long someNumber;
31 @end
33 @implementation AutomaticSynthesis
34 @end