summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/langs1.c
blob: 8ffd13f0840f9ea2dfebe7e6fe3c41ddf90e6bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* langs1.f -- translated by f2c (version of 5 May 1990  1:12:08).  */

/* f2c output hacked as follows for GDB testsuite:
   1.  Change commented out "#" lines to #line directives.
       I don't know why this behavior isn't the default for f2c -g.
   2.  Remove include of f2c.h and put in just a typedef for "integer".
   Additional notes:
   3.  f2c was called as "f2c -g langs1.f".
   4.  We don't need to use the fortran libraries.  */

typedef int integer;

/* Table of constant values */

static integer c__10000 = 10000;

/* I am not sure whether there is a way to have a fortran program without */
/* a MAIN, but it does not really harm us to have one. */
#ifdef PROTOTYPES
/* Main program */ void MAIN__()
#else
/* Main program */ MAIN__()
#endif
{
} /* MAIN__ */

#line 4 "langs1.f"
/* Subroutine */ int fsub_()
{
#ifdef PROTOTYPES
    extern integer cppsub_(int*);
#else
    extern integer cppsub_();
#endif

#line 5 "langs1.f"
#line 6 "langs1.f"
    return cppsub_(&c__10000);
#line 7 "langs1.f"
} /* fsub_ */