diff options
-rw-r--r-- | test/CodeGenObjC/PR4541.m | 19 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-crash.m | 16 |
2 files changed, 16 insertions, 19 deletions
diff --git a/test/CodeGenObjC/PR4541.m b/test/CodeGenObjC/PR4541.m deleted file mode 100644 index 84218a968c..0000000000 --- a/test/CodeGenObjC/PR4541.m +++ /dev/null @@ -1,19 +0,0 @@ -// 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 - - 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 |