URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [func_decl_2.f90] - Rev 302
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Test fix for PR16943 in which the double typing of
! N caused an error.
!
! Contributed by Paul Thomas <pault@gcc.gnu.org>
!
program bug8
implicit none
stop " OK. "
contains
integer function bugf(M) result (N)
integer, intent (in) :: M
integer :: N ! { dg-error "already has basic type of INTEGER" }
N = M
return
end function bugf
end program bug8
Go to most recent revision | Compare with Previous | Blame | View Log