OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [property/] [property-neg-3.m] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* { dg-do compile } */
2
 
3
@interface Person
4
{
5
  char *firstName;
6
}
7
@property char *firstName;
8
@end
9
 
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.