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

Subversion Repositories openrisc

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

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.