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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.base/] [langs2.c] - Blame information for rev 106

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

Line No. Rev Author Line
1 106 markom
/* This is intended to be a vague simulation of cfront output.  */
2
#ifdef PROTOTYPES
3
#line 1 "langs2.cxx"
4
extern int csub (int);
5
int
6
foo__Fi (int x)
7
{
8
  return csub (x / 2);
9
}
10
 
11
extern int cppsub_ (int *y);
12
int
13
cppsub_ (int * y)
14
{
15
  return foo__Fi (*y);
16
}
17
#else 
18
#line 1 "langs2.cxx"
19
extern int csub ();
20
int
21
foo__Fi (x) int x;
22
{
23
  return csub (x / 2);
24
}
25
 
26
extern int cppsub_ ();
27
int
28
cppsub_ (y) int *y;
29
{
30
  return foo__Fi (*y);
31
}
32
#endif

powered by: WebSVN 2.1.0

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