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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [type-size-4.m] - Blame information for rev 704

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 704 jeremybenn
/* Allow ivars that are pointers to structs with an unknown size.  */
2
/* Contributed by Nicola Pero  <nicola.pero@meta-innovation.com> */
3
/* PR objc/47832 */
4
/* { dg-do compile } */
5
 
6
typedef struct
7
{
8
  unsigned long int a;
9
  double b[];
10
} test_type;
11
 
12
@interface Test
13
{
14
  /* These are all fine.  */
15
  double *a;
16
  struct { int x; double y[]; } *b;
17
  test_type *c;
18
  union union_type { int x; test_type y; } *d;
19
}
20
@end
21
 
22
@implementation Test
23
@end

powered by: WebSVN 2.1.0

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