blob: 3b289037b87fe79fe21e996201c9e9b3aa9f7d7f [file] [log] [blame]
/* APPLE LOCAL file radar 5265608 */
/* Catch error when property synthesis is not in an @implementation context. */
/* { dg-options "-mmacosx-version-min=10.5" { target powerpc*-*-darwin* i?86*-*-darwin* } } */
/* { dg-do compile { target *-*-darwin* } } */
__attribute__((objc_root_class)) @interface BugBugBug
{
id key;
}
@property(copy) id key;
@end
@synthesize key=key; /* { dg-warning "@synthesize property must be in implementation context" } */