aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/module_procedure_double_colon_3.f90
blob: 620f82ac1fa605cd1ca711d524f3ebdfd99a1041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/49265
!
! Contributed by Erik Toussaint
!
module m1
  implicit none
  interface foo
     procedure :: bar ! { dg-error "Fortran 2008: double colon in MODULE PROCEDURE statement" }
  end interface
contains
  subroutine bar
  end subroutine
end module