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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr32041.c] - Rev 298

Go to most recent revision | Compare with Previous | Blame | View Log

/* PR c/32041 */
/* { dg-do compile } */
 
struct S
{
  int c;
  struct { float f; } sa[2];
};
 
char a[__builtin_offsetof (struct S, sa->f)
       == __builtin_offsetof (struct S, sa[0].f) ? 1 : -1];
 
 

Go to most recent revision | 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.