import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs2.c
CommitLineData
c906108c 1/* This is intended to be a vague simulation of cfront output. */
085dd6e6
JM
2#ifdef PROTOTYPES
3#line 1 "langs2.cxx"
4extern int csub (int);
5int
6foo__Fi (int x)
7{
8 return csub (x / 2);
9}
10
11extern int cppsub_ (int *y);
12int
13cppsub_ (int * y)
14{
15 return foo__Fi (*y);
16}
17#else
c906108c
SS
18#line 1 "langs2.cxx"
19extern int csub ();
20int
21foo__Fi (x) int x;
22{
23 return csub (x / 2);
24}
25
26extern int cppsub_ ();
27int
28cppsub_ (y) int *y;
29{
30 return foo__Fi (*y);
31}
085dd6e6 32#endif
This page took 0.028741 seconds and 4 git commands to generate.