mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
f0cb3767cf
were convenience libs, so we did not test the creation of shared libraries on any platform. Also none of the libs used any actual fortran library calls, adding a call to write(*,*) in each lib causes the tests to fail on darwin (and presumably other platforms). These new tests would likely cause many more fortran test failures, so if there is an error during make it is reported as SKIP. * tests/f77demo-make.test: Don't fail hard, skip on failure. * tests/f77demo/foof2.f: New file. * tests/f77demo/foof3.f: New file. * tests/f77demo/fprogram.f: Call routine in new lib. * tests/f77demo/foof.f: Call routine in another new lib. * tests/f77demo/Makefile.am: Make a couple of new libraries, add $(FLIBS) to cprogram LDADD.
15 lines
402 B
Fortran
15 lines
402 B
Fortran
C
|
|
C This program is free software; you can redistribute it and/or
|
|
C modify it under the terms of the GNU General Public License
|
|
C as published by the Free Software Foundation; either version 2
|
|
C of the License, or (at your option) any later version.
|
|
C
|
|
|
|
subroutine fsub3(arg,res)
|
|
implicit none
|
|
integer*4 arg,res
|
|
write(*,*) 'fsub3 called'
|
|
res=arg*4
|
|
return
|
|
end
|