URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [property/] [at-property-2.m] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ #include <objc/objc.h> @interface MyRootClass { Class isa; } @property int name __attribute__((deprecated)); @property int table __attribute__((xxx)); /* { dg-warning ".xxx. attribute directive ignored" } */ @property void function (void); /* { dg-error "declared as a function" } */ @property typedef int j; /* { dg-error "expected" } */ @end
Go to most recent revision | Compare with Previous | Blame | View Log