mirror of git://gcc.gnu.org/git/gcc.git
re PR fortran/85357 (ICE on invalid code with equal procedure names)
2018-12-26 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/85357
* gfortran.df/pr85357.f90: New test.
From-SVN: r267423
This commit is contained in:
parent
2b8c2e7fb1
commit
c673c52c20
|
|
@ -1,3 +1,8 @@
|
|||
2018-12-26 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
|
||||
PR fortran/85357
|
||||
* gfortran.df/pr85357.f90: New test.
|
||||
|
||||
2018-12-24 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
|
||||
PR fortran/45513
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
! { dg-do compile }
|
||||
module base
|
||||
implicit none
|
||||
contains
|
||||
subroutine summation(i)
|
||||
integer, intent(in) :: i
|
||||
end subroutine
|
||||
end module
|
||||
|
||||
module extended
|
||||
use base
|
||||
implicit none
|
||||
contains
|
||||
subroutine summation() ! { dg-error "is already defined" }
|
||||
end subroutine ! { dg-error "Expecting END MODULE statement" }
|
||||
end module
|
||||
! { dg-prune-output "is already defined at" }
|
||||
Loading…
Reference in New Issue