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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.base/] [langs2.c] - Diff between revs 107 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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