view gcc/testsuite/gfortran.dg/init_flag_11.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900 (2020-05-25)
parents 04ced10e8804
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