]>
Commit | Line | Data |
---|---|---|
c906108c | 1 | /* This is intended to be a vague simulation of cfront output. */ |
085dd6e6 JM |
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 | |
c906108c SS |
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 | } | |
085dd6e6 | 32 | #endif |