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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [langs2.c] - Rev 24

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

/* This is intended to be a vague simulation of cfront output.  */
#ifdef PROTOTYPES
#line 1 "langs2.cxx"
extern int csub (int);
int
foo__Fi (int x)
{
  return csub (x / 2);
}
 
extern int cppsub_ (int *y);
int
cppsub_ (int * y)
{
  return foo__Fi (*y);
}
#else 
#line 1 "langs2.cxx"
extern int csub ();
int
foo__Fi (x) int x;
{
  return csub (x / 2);
}
 
extern int cppsub_ ();
int
cppsub_ (y) int *y;
{
  return foo__Fi (*y);
}
#endif
 

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

powered by: WebSVN 2.1.0

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