PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / module_procedure_double_colon_3.f90
blob620f82ac1fa605cd1ca711d524f3ebdfd99a1041
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
4 ! PR fortran/49265
6 ! Contributed by Erik Toussaint
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