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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [obj-c++.dg/] [ivar-invalid-type-1.mm] - Blame information for rev 703

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 703 jeremybenn
/* { dg-do compile } */
2
#include 
3
 
4
@interface MyRootClass
5
{
6
  Class isa;
7
}
8
@end
9
 
10
@interface MySubClass
11
{
12
  volatile int a;  /* This is allowed */
13
  extern int b;    /* { dg-error "invalid type" } */
14
  static int c;    /* { dg-error "invalid type" } */
15
  inline int d;    /* { dg-error "declared as an .inline." } */
16
  typedef int e;   /* { dg-error "invalid type" } */
17
  __thread int f;  /* { dg-error "invalid type" } */
18
}
19
@end

powered by: WebSVN 2.1.0

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