OpenCores
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] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* { dg-do compile } */
2
 
3
#include <objc/objc.h>
4
 
5
@interface MyRootClass
6
{
7
  Class isa;
8
}
9
@property int name __attribute__((deprecated));
10
@property int table __attribute__((xxx));       /* { dg-warning ".xxx. attribute directive ignored" } */
11
@property void function (void);                 /* { dg-error "declared as a function" } */
12
@property typedef int j;                        /* { dg-error "expected" } */
13
@end

powered by: WebSVN 2.1.0

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