OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [alpha/] [pr42448-1.c] - Rev 315

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

/* { dg-do run } */
/* { dg-options "-mcpu=21064 -O0" } */
 
extern void abort (void);
 
struct S2180
{
  char t;
  _Complex char u[2];
};
 
struct S2180 s2180;
 
int
main (void)
{
  volatile struct S2180 x;
 
  s2180.u[1] = 3 + 4i;
 
  x.u[1] = s2180.u[1];
 
  if (x.u[1] != s2180.u[1])
    abort ();
 
  return 0;
}
 

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.