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] - Blame information for rev 801

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-mcpu=21064 -O0" } */
3
 
4
extern void abort (void);
5
 
6
struct S2180
7
{
8
  char t;
9
  _Complex char u[4];
10
};
11
 
12
struct S2180 s2180;
13
 
14
int
15
main (void)
16
{
17
  volatile struct S2180 x;
18
 
19
  s2180.u[3] = 3 + 4i;
20
 
21
  x.u[3] = s2180.u[3];
22
 
23
  if (x.u[3] != s2180.u[3])
24
    abort ();
25
 
26
  return 0;
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.