aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/PR4541.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/PR4541.m')
-rw-r--r--test/CodeGenObjC/PR4541.m19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CodeGenObjC/PR4541.m b/test/CodeGenObjC/PR4541.m
new file mode 100644
index 000000000000..9a651162c1e1
--- /dev/null
+++ b/test/CodeGenObjC/PR4541.m
@@ -0,0 +1,19 @@
+// RUN: clang-cc -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
+
+