view gcc/testsuite/gfortran.dg/module_procedure_double_colon_1.f90 @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
!
! PR fortran/49265
! Contributed by Erik Toussaint
!
module m1
   implicit none
   interface foo
      module procedure::bar
      module procedure ::bar_none
      module procedure:: none_bar
   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