view gcc/testsuite/gfortran.dg/init_flag_11.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

! { dg-do compile }
! { dg-options "-finit-local-zero -fno-automatic" }
!
! PR fortran/53818
!
! Contributed by John Moyard
!
logical function testing(date1, date2) result(test)
  integer  date1, date2
  test = ( (date1 < date2) .or. ( date1==date2 ))
end function testing