URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [proc_ptr_16.f90] - Rev 862
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
! PR 39946: PROCEDURE statements: interface with RESULT variable
!
! Original test case by Juergen Reuter <reuter@physik.uni-freiburg.de>
! Modified by Janus Weil <janus@gcc.gnu.org>
procedure(prc_is_allowed), pointer :: fptr
interface
function prc_is_allowed (flv, hel, col) result (is_allowed)
logical :: is_allowed
integer, intent(in) :: flv, hel, col
end function prc_is_allowed
end interface
fptr => prc_is_allowed
end
Go to most recent revision | Compare with Previous | Blame | View Log