aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/module_procedure_double_colon_4.f90
blob: d56823c1f6ab5a30c89652ff2435d69fb1a041f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
! { dg-do compile }
! { dg-options "-std=f2008" }
!
! PR fortran/49265
!
! Contributed by Erik Toussaint
!
module m1
  implicit none
  interface foo
     procedure :: bar ! "::" is valid since Fortran 2008
  end interface
contains
  subroutine bar
  end subroutine
end module