1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// RUN: %clang_cc1 -o %t -w -g %s @class NSString; @interface NSAttributedString - (NSString *)string; @end @interface NSMutableAttributedString : NSAttributedString @end @class NSImage; @implementation CYObjectsController + (void)initialize { } + (NSAttributedString *)attributedStringWithString:(id)string image:(NSImage *)image { NSMutableAttributedString *attrStr; } @end