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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [941021-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
double glob_dbl;
2
 
3
f (pdbl, value)
4
     double *pdbl;
5
     double value;
6
{
7
  if (pdbl == 0)
8
    pdbl = &glob_dbl;
9
 
10
  *pdbl = value;
11
}
12
 
13
main ()
14
{
15
  f ((void *) 0, 55.1);
16
 
17
  if (glob_dbl != 55.1)
18
    abort ();
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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