mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
Add test case for <rdar://problem/8891119>. In
earlier revisions Clang was incorrectly warning about an incomplete @implementation when a property was getting synthesized. This got fixed somewhere down the line. llvm-svn: 123939
This commit is contained in:
parent
6d5e68eaf2
commit
18f4a755a3
@ -78,3 +78,20 @@
|
||||
// <rdar://problem/7680391> - Handle nameless categories with no name that refer
|
||||
// to an undefined class
|
||||
@interface RDar7680391 () @end // expected-error{{cannot find interface declaration}}
|
||||
|
||||
// <rdar://problem/8891119> - Handle @synthesize being used in conjunction
|
||||
// with explicitly declared accessor.
|
||||
@interface RDar8891119 {
|
||||
id _name;
|
||||
}
|
||||
@end
|
||||
@interface RDar8891119 ()
|
||||
- (id)name;
|
||||
@end
|
||||
@interface RDar8891119 ()
|
||||
@property (copy) id name;
|
||||
@end
|
||||
@implementation RDar8891119
|
||||
@synthesize name = _name;
|
||||
@end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user