blob: cc9b0689c53680c12caaa9450a0b18e75e08116e [file] [log] [blame]
/* { dg-do compile } */
@interface Person
{
char *firstName;
}
@property char *firstName;
@end
@implementation Person
@dynamic firstName; /* { dg-line firstName_first } */
@synthesize firstName; /* { dg-error "property .firstName. already specified in .@dynamic." } */
/* { dg-message "originally specified here" "" { target *-*-* } firstName_first } */
@end