mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
d7919d50d0
* cfg.mk (local-checks-to-fix): Move sc_trailing_blank from here... (local-checks-to-skip): ...to here, because otherwise it flags valid RFC3676 signature blocks. (sc_trailing_blank-non-rfc3676): An improved sc_trailing_blank implementation that doesn't flag signature blocks as violations. * Makefile.am, bootstrap.conf, doc/PLATFORMS, libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4, libltdl/m4/lt~obsolete.m4, tests/archive-in-archive.at, tests/convenience.at, tests/darwin.at, tests/depdemo/l1/l1.c, tests/depdemo/l2/l2.c, tests/depdemo/l3/l3.c, tests/depdemo/l4/l4.c, tests/f77demo/README, tests/f77demo/cprogram.c, tests/f77demo/foof.f, tests/f77demo/foof2.f, tests/f77demo/foof3.f, tests/f77demo/fprogram.f, tests/fcdemo/README, tests/fcdemo/cprogram.c, tests/fcdemo/foof.f90, tests/fcdemo/foof2.f90, tests/fcdemo/foof3.f90, tests/fcdemo/fprogram.f90, tests/mdemo/README, tests/mdemo/main.c, tests/mdemo/mlib.c, tests/objectlist.test, tests/static.at, tests/template.at, tests/testsuite.at: Remove trailing blanks. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
32 lines
710 B
Fortran
32 lines
710 B
Fortran
! This program is free software; you can redistribute it and/or
|
|
! modify it under the terms of the GNU General Public License
|
|
! as published by the Free Software Foundation; either version 2
|
|
! of the License, or (at your option) any later version.
|
|
|
|
program fprogram
|
|
implicit none
|
|
integer arg,res
|
|
|
|
write(*,*) 'Welcome to GNU libtool Fortran demo!'
|
|
write(*,*) 'Real programmers write in FORTRAN.'
|
|
arg=2
|
|
|
|
call fsub(arg,res)
|
|
|
|
write(*,*) 'fsub returned, saying that 2 *',arg,' =',res
|
|
|
|
if (res.eq.4) then
|
|
write(*,*) 'fsub is ok!'
|
|
endif
|
|
|
|
call fsub3(arg,res)
|
|
|
|
write(*,*) 'fsub3 returned, saying that 4 *',arg,' =',res
|
|
|
|
if (res.eq.8) then
|
|
write(*,*) 'fsub3 is ok!'
|
|
endif
|
|
|
|
stop
|
|
end
|