2 ! Tests the fix for PR37836 in which the specification expressions for
3 ! y were not simplified because there was no simplifier for minval and
6 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
8 ! nint(exp(3.0)) is equal to 20 :-)
12 real y(minval([25, nint(exp(3.0)), 15]))
19 real y(maxval([25, nint(exp(3.0)), 15]))
27 if (fun4a () .ne
. 15) call abort
28 if (fun4b () .ne
. 25) call abort