commit | e7aa27a826f0b353713df6bfa0715818db8cde74 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Dec 20 15:50:13 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Dec 20 15:50:13 2011 +0000 |
tree | 0f5457066dc1310ac70cabda86902dbb234a2587 | |
parent | 4c07c5dfebd270b2f0660e86f056eeafdb26a4fb [diff] [blame] |
When performing layout for an Objective-C class, make sure to dig out the definition of that class. Fixes PR11613 / <rdar://problem/10604077>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146976 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenObjC/forward-class-impl-metadata.m b/test/CodeGenObjC/forward-class-impl-metadata.m index e9e0858..371abf2 100644 --- a/test/CodeGenObjC/forward-class-impl-metadata.m +++ b/test/CodeGenObjC/forward-class-impl-metadata.m
@@ -39,3 +39,9 @@ @implementation A @synthesize p0 = _p0; @end + +@interface B +@end +@class B; +@implementation B +@end