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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [property/] [at-property-3.mm] - Rev 703

Compare with Previous | Blame | View Log

/* { dg-do compile } */

#include <objc/objc.h>

@interface MyRootClass
{
  Class isa;
}
@property volatile int a;  /* This is allowed */
@property extern int b;    /* { dg-error "invalid type" } */
@property static int c;    /* { dg-error "invalid type" } */
@property inline int d;    /* { dg-error "declared as an .inline." } */
@property typedef int e;   /* { dg-error "invalid type" } */
@property __thread int f;  /* { dg-error "invalid type" } */
@end

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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