OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [interface_proc_end.f90] - Blame information for rev 312

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/34763
4
! Before, gfortran did not allow for the "END" in
5
! the interface, which is no module procedure.
6
!
7
! Test case contributed by Dick Hendrickson
8
!
9
      module n
10
      contains
11
      subroutine n_interface
12
      INTERFACE
13
            SUBROUTINE NGSXDY(TLS1,TLS2)
14
            REAL  ::  TLS1,TLS2
15
            END ! OK
16
      END INTERFACE
17
      end ! { dg-error "END SUBROUTINE statement" }
18
      end module ! { dg-error "END SUBROUTINE statement" }
19
! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.