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/] [func-ptr-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
static double f (float a);
2
static double (*fp) (float a);
3
 
4
main ()
5
{
6
  fp = f;
7
  if (fp ((float) 1) != 1.0)
8
    abort ();
9
  exit (0);
10
}
11
 
12
static double
13
f (float a)
14
{
15
  return a;
16
}

powered by: WebSVN 2.1.0

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