mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-13 15:05:46 +00:00
33 lines
435 B
C
33 lines
435 B
C
/* 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
|