summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-13 17:03:14 +0000
committerDevang Patel <dpatel@apple.com>2009-07-13 17:03:14 +0000
commit9c3a0188cd6ade50de9b2cd5feeafa0d03692b7c (patch)
tree101a6740d1ca43702697a575222992ae676aef4b /clang/test/CodeGenObjC
parent20f6ac073800ded66709ec603a88b68e4bef5caa (diff)
downloadbcm5719-llvm-9c3a0188cd6ade50de9b2cd5feeafa0d03692b7c.tar.gz
bcm5719-llvm-9c3a0188cd6ade50de9b2cd5feeafa0d03692b7c.zip
Update debug info type cache after fwd decl is replaced by real decl.
llvm-svn: 75473
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/PR4541.m19
1 files changed, 19 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/PR4541.m b/clang/test/CodeGenObjC/PR4541.m
new file mode 100644
index 00000000000..9a651162c1e
--- /dev/null
+++ b/clang/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
+
+
OpenPOWER on IntegriCloud