import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs2.c
1 /* 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
This page took 0.030883 seconds and 4 git commands to generate.