[gdb/testsuite] Capture many-headers.exp progress and output in gdb.log
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs0.c
CommitLineData
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
3extern int fsub_();
4
5int csub (int x)
c906108c
SS
6{
7 return x + 1;
8}
9
10int
11langs0__2do ()
12{
13 return fsub_ () + 2;
14}
15
16int
17main ()
18{
c906108c
SS
19 if (langs0__2do () == 5003)
20 /* Success. */
21 return 0;
22 else
23 return 1;
24}
This page took 2.103537 seconds and 4 git commands to generate.