URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [intent_out_4.f90] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
! PR fortran/34689
!
! The following (cf. libgomp.fortran/appendix-a/a.33.3.f90)
! was rejected because the intent check missed a FL_FUNCTION
! for the result variable.
!
function test()
implicit none
integer :: test
interface
subroutine foo(a)
integer, intent(inout) :: a
end subroutine foo
end interface
call foo(test)
end function test
Go to most recent revision | Compare with Previous | Blame | View Log