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

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 2b5abeee2509
children
line wrap: on
line source

! { dg-do compile }
! PR 95053 - make sure we do not regress on 521.wrf_r from spec2017
!
function f (x)
  real, parameter :: cldeps = 0.
  f = 0.
  if (cldeps > 0.) then
     f = floor (x/cldeps) * cldeps
  end if
end function f