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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [alpha/] [pr42448-2.c] - Rev 801

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[4];
};
 
struct S2180 s2180;
 
int
main (void)
{
  volatile struct S2180 x;
 
  s2180.u[3] = 3 + 4i;
 
  x.u[3] = s2180.u[3];
 
  if (x.u[3] != s2180.u[3])
    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.