pure function funD_2(b) result(ret) real(dp), intent(in) :: b real(dp) :: ret ret = funD(b, 2.0_dp) end function funD_2