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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980205.c] - Blame information for rev 844

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

Line No. Rev Author Line
1 149 jeremybenn
#include <stdarg.h>
2
 
3
void fdouble (double one, ...)
4
{
5
  double value;
6
  va_list ap;
7
 
8
  va_start (ap, one);
9
  value = va_arg (ap, double);
10
  va_end (ap);
11
 
12
  if (one != 1.0 || value != 2.0)
13
    abort ();
14
}
15
 
16
int main ()
17
{
18
  fdouble (1.0, 2.0);
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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