In gcc/testsuite/: 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / gcc / testsuite / obj-c++.dg / property / property-neg-3.mm
blob0b30931a8813c6bfbb54120bc3648ab11269305f
1 /* { dg-do compile } */
3 @interface Person 
5   char *firstName;
7 @property char *firstName;
8 @end    
10 @implementation  Person
11 @dynamic firstName;
12 @synthesize firstName; /* { dg-error "property .firstName. already specified in .@dynamic." } */
13                        /* { dg-message "originally specified here" "" { target *-*-* } 11 } */
14 @end