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-3.m] - Blame information for rev 774

Go to most recent revision | 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 volatile int a;  /* This is allowed */
10
@property extern int b;    /* { dg-error "expected" } */
11
@property static int c;    /* { dg-error "expected" } */
12
@property inline int d;    /* { dg-error "expected" } */
13
@property typedef int e;   /* { dg-error "expected" } */
14
@property __thread int f;  /* { dg-error "expected" } */
15
@end

powered by: WebSVN 2.1.0

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