pure function funA_2_1(b) result(ret) real(dp), intent(in) :: b real(dp) :: ret ret = funA(b, 2.0_dp, 1.0_dp) end function funA_2_1