Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/pr95053_2.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 ! { dg-do compile } | |
2 ! PR 95053 - make sure we do not regress on 521.wrf_r from spec2017 | |
3 ! | |
4 function f (x) | |
5 real, parameter :: cldeps = 0. | |
6 f = 0. | |
7 if (cldeps > 0.) then | |
8 f = floor (x/cldeps) * cldeps | |
9 end if | |
10 end function f |