blob: b59e766f072faaf13993c35ae93e0af6bd4e0c26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
! { dg-do compile }
! { dg-options "-std=f95" }
!
! PR fortran/49265
! Contributed by Erik Toussaint
!
module m1
implicit none
interface foo
module procedure::bar ! { dg-error "double colon" }
module procedure ::bar_none ! { dg-error "double colon" }
module procedure:: none_bar ! { dg-error "double colon" }
end interface
contains
subroutine bar
end subroutine
subroutine bar_none(i)
integer i
end subroutine
subroutine none_bar(x)
real x
end subroutine
end module
|