Home | History | Annotate | Download | only in CodeGenObjC
      1 // REQUIRES: x86-registered-target
      2 // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fblocks -debug-info-kind=limited -S %s -o -
      3 
      4 // rdar://7556129
      5 @implementation test
      6 - (void)wait {
      7   ^{};
      8 }
      9 @end
     10 
     11 // PR4894
     12 @interface I0 {
     13   I0 *_iv0;
     14 }
     15 @end
     16 @protocol P0 @end
     17 
     18 @interface I1 @end
     19 @implementation I1
     20 - (I0<P0> *) im0 {
     21   // CHECK: @"\01-[I1 im0]"
     22   // CHECK: llvm.dbg.func.start
     23   return 0;
     24 }
     25 @end
     26 
     27 // PR4541
     28 @class NSString;
     29 @interface NSAttributedString 
     30 - (NSString *)string;
     31 @end 
     32 @interface NSMutableAttributedString : NSAttributedString 
     33 @end 
     34 @class NSImage;
     35 @implementation CYObjectsController 
     36 + (void)initialize {
     37 }
     38 + (NSAttributedString *)attributedStringWithString:(id)string image:(NSImage *)image  {
     39   NSMutableAttributedString *attrStr;
     40 }
     41 @end
     42