diff options
Diffstat (limited to 'test/CodeGenObjC/debug-info-crash.m')
-rw-r--r-- | test/CodeGenObjC/debug-info-crash.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGenObjC/debug-info-crash.m b/test/CodeGenObjC/debug-info-crash.m index 1126ef0c36..92f9c0eda3 100644 --- a/test/CodeGenObjC/debug-info-crash.m +++ b/test/CodeGenObjC/debug-info-crash.m @@ -22,3 +22,19 @@ return 0; } @end + +// PR4541 +@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 |