Fortran test: Modify test cases to pass on mingw.

gcc/testsuite/ChangeLog:

	* gfortran.dg/ISO_Fortran_binding_14.f90: Change example function to
	CLOCK which is available on mingw as well as other platforms.
	* gfortran.dg/pr96486.f90: Change variable to PATH likewise.
This commit is contained in:
Jerry DeLisle
2023-02-16 19:29:44 -08:00
parent 6108dc91cd
commit f978585c29
2 changed files with 2 additions and 2 deletions
@@ -8,7 +8,7 @@
!
MODULE FOO
INTERFACE
SUBROUTINE dummy(buf) BIND(C, name="sync")
SUBROUTINE dummy(buf) BIND(C, name="clock")
type(*), dimension(..) :: buf
END SUBROUTINE
END INTERFACE
+1 -1
View File
@@ -4,6 +4,6 @@ program test
implicit none
character(0) :: value
integer :: l, stat
call get_environment_variable("HOME",value,length=l,status=stat)
call get_environment_variable("PATH",value,length=l,status=stat)
if (stat.ne.-1) stop 1
end program test