summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/interface_proc_end.f90
blob: 2fc9921df413d0c55fa0c05c843ba71d82fa7f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
! { dg-do compile }
!
! PR fortran/34763
! Before, gfortran did not allow for the "END" in
! the interface, which is no module procedure.
!
! Test case contributed by Dick Hendrickson
!
      module n
      contains
      subroutine n_interface
      INTERFACE
            SUBROUTINE NGSXDY(TLS1,TLS2)
            REAL  ::  TLS1,TLS2
            END ! OK
      END INTERFACE
      end subroutine
      end module