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