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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr42248.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef struct {
2
  _Complex double a;
3
  _Complex double b;
4
} Scf10;
5
 
6
Scf10 g1s;
7
 
8
void
9
check (Scf10 x, _Complex double y)
10
{
11
  if (x.a != y) __builtin_abort ();
12
}
13
 
14
void
15
init (Scf10 *p, _Complex double y)
16
{
17
  p->a = y;
18
}
19
 
20
int
21
main ()
22
{
23
  init (&g1s, (_Complex double)1);
24
  check (g1s, (_Complex double)1);
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.