URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [proc_decl_21.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR fortran/39414: PROCEDURE statement double declaration bug!! Discovered by Paul Thomas <pault@gcc.gnu.org>! Modified by Janus Weil <janus@gcc.gnu.org>! forbiddenprocedure(integer) :: ainteger :: a ! { dg-error "already has basic type of" }integer :: bprocedure(integer) :: b ! { dg-error "already has basic type of" }procedure(iabs) :: cinteger :: c ! { dg-error "may not have basic type of" }integer :: dprocedure(iabs) :: d ! { dg-error "already has basic type of" }! allowedinteger :: eprocedure() :: eprocedure() :: finteger :: fend
