diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-25 03:38:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-25 03:38:26 +0000 |
commit | 3db9eb1fbe5771d3d64db01af46b4eee9aca8ed0 (patch) | |
tree | df2849a1deca7e65817178ed57aa2ea92e4534c9 | |
parent | 9712e0be99363adcf2b1039f5918753105c9b443 (diff) |
merge another one in.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94404 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |