URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [module_procedure_double_colon_2.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }
! { dg-options "-std=f95" }
!
! PR fortran/49265
! Contributed by Erik Toussaint
!
module m1
implicit none
interface foo
module procedure::bar ! { dg-error "double colon" }
module procedure ::bar_none ! { dg-error "double colon" }
module procedure:: none_bar ! { dg-error "double colon" }
end interface
contains
subroutine bar
end subroutine
subroutine bar_none(i)
integer i
end subroutine
subroutine none_bar(x)
real x
end subroutine
end module
! { dg-final { cleanup-modules "m1" } }