| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-std=f2008" } |
| 3 |
! |
| 4 |
! PR fortran/49265 |
| 5 |
! |
| 6 |
! Contributed by Erik Toussaint |
| 7 |
! |
| 8 |
module m1 |
| 9 |
implicit none |
| 10 |
interface foo |
| 11 |
procedure :: bar ! "::" is valid since Fortran 2008 |
| 12 |
end interface |
| 13 |
contains |
| 14 |
subroutine bar |
| 15 |
end subroutine |
| 16 |
end module |