! More tests for MIN/MAX with optional arguments! PR33095!! { dg-do run }if(m1(3,4)/=4)call abortif(m1(3)/=3)call abortif(m1()/=2)call abortif(m1(3,4)/=4)call abortif(m1(3)/=3)call abortcontainsinteger function m1(a1,a2)integer,optional,intent(in)::a1,a2m1=max(1,2,a1,a2)end function m1integer function m2(a1,a2)integer,optional,intent(in)::a1,a2m2=max(1,a1,2,a2)end function m2end