Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* This file is actually in C, it is not supposed to simulate something |
2 | translated from another language or anything like that. */ | |
085dd6e6 JM |
3 | #ifdef PROTOTYPES |
4 | extern int fsub_(); | |
5 | ||
6 | int csub (int x) | |
7 | #else | |
c906108c SS |
8 | int |
9 | csub (x) | |
10 | int x; | |
085dd6e6 | 11 | #endif |
c906108c SS |
12 | { |
13 | return x + 1; | |
14 | } | |
15 | ||
16 | int | |
17 | langs0__2do () | |
18 | { | |
19 | return fsub_ () + 2; | |
20 | } | |
21 | ||
22 | int | |
23 | main () | |
24 | { | |
c906108c SS |
25 | if (langs0__2do () == 5003) |
26 | /* Success. */ | |
27 | return 0; | |
28 | else | |
29 | return 1; | |
30 | } |