PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_decl_6.f90
blobd2a6a1de96622a5a220eaac57dd4d25c947a875b
1 ! { dg-do compile }
2 ! PR fortran/33945
4 ! MODULE PROCEDURE in the interface was wrongly accepted
5 module modproc2
6 implicit none
7 interface
8 subroutine x
9 end subroutine x
10 end interface
11 procedure(x) :: y
12 interface bar
13 module procedure y ! { dg-error "not a module procedure" }
14 end interface bar
15 end module modproc2
17 end