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] - Rev 704

Compare with Previous | Blame | View Log

/* Allow ivars that are pointers to structs with an unknown size.  */
/* Contributed by Nicola Pero  <nicola.pero@meta-innovation.com> */
/* PR objc/47832 */
/* { dg-do compile } */
 
typedef struct
{
  unsigned long int a;
  double b[];
} test_type;
 
@interface Test
{
  /* These are all fine.  */
  double *a;
  struct { int x; double y[]; } *b;
  test_type *c;
  union union_type { int x; test_type y; } *d;
}
@end
 
@implementation Test
@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.