Debian Codegraph @

gcc/testsuite/gfortran.dg/module_procedure_double_colon_3.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3 !
4 ! PR fortran/49265
5 !
6 ! Contributed by Erik Toussaint
7 !
8 module m1
9 implicit none
10 interface foo
11 procedure :: bar ! { dg-error "Fortran 2008: double colon in MODULE PROCEDURE statement" }
12 end interface
13 contains
14 subroutine bar
15 end subroutine
16 end module