diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGenObjC/PR4541.m | 19 | ||||
-rw-r--r-- | clang/test/CodeGenObjC/debug-info-crash.m | 16 |
2 files changed, 16 insertions, 19 deletions
diff --git a/clang/test/CodeGenObjC/PR4541.m b/clang/test/CodeGenObjC/PR4541.m deleted file mode 100644 index 84218a968cc..00000000000 --- a/clang/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/clang/test/CodeGenObjC/debug-info-crash.m b/clang/test/CodeGenObjC/debug-info-crash.m index 1126ef0c367..92f9c0eda31 100644 --- a/clang/test/CodeGenObjC/debug-info-crash.m +++ b/clang/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 |