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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr49644.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR c/49644 */
2
 
3
extern void abort (void);
4
 
5
int
6
main ()
7
{
8
  _Complex double a[12], *c = a, s = 3.0 + 1.0i;
9
  double b[12] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }, *d = b;
10
  int i;
11
  for (i = 0; i < 6; i++)
12
    *c++ = *d++ * s;
13
  if (c != a + 6 || d != b + 6)
14
    abort ();
15
  return 0;
16
}

powered by: WebSVN 2.1.0

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