Add missing testcase.
[official-gcc.git] / libgfortran / fmain.c
bloba99263cc5104ba920214d49235513bdc6a3fdf47
1 /* Note that this file is not used as of GFortran 4.5, and exists here
2 only for backwards compatibility. */
4 #include "libgfortran.h"
6 /* The main Fortran program actually is a function, called MAIN__.
7 We call it from the main() function in this file. */
8 void MAIN__ (void);
10 /* Main procedure for fortran programs. All we do is set up the environment
11 for the Fortran program. */
12 int
13 main (int argc, char *argv[])
15 /* Set up the runtime environment. */
16 set_args (argc, argv);
18 /* Call the Fortran main program. Internally this is a function
19 called MAIN__ */
20 MAIN__ ();
22 /* Bye-bye! */
23 return 0;