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

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

Line No. Rev Author Line
1 312 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[2];
10
};
11
 
12
struct S2180 s2180;
13
 
14
int
15
main (void)
16
{
17
  volatile struct S2180 x;
18
 
19
  s2180.u[1] = 3 + 4i;
20
 
21
  x.u[1] = s2180.u[1];
22
 
23
  if (x.u[1] != s2180.u[1])
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.