re PR fortran/41909 (ICE with "call foo" in "program foo")
2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41909 * gfortran.dg/recursive_check_15.f90: New test. From-SVN: r153992
This commit is contained in:
parent
bfdccf4284
commit
c6bcb25b27
|
@ -1,3 +1,8 @@
|
|||
2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/41909
|
||||
* gfortran.dg/recursive_check_15.f90: New test.
|
||||
|
||||
2009-11-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/41967
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
! { dg-do compile }
|
||||
! PR41909 ICE with "call foo" in "program foo"
|
||||
program test ! { dg-error "Global name" }
|
||||
implicit none
|
||||
call test() ! { dg-error "" }
|
||||
contains
|
||||
subroutine one(a)
|
||||
real, dimension(:,:), intent(inout), optional :: a
|
||||
call two(a)
|
||||
end subroutine one
|
||||
end program test
|
||||
|
Loading…
Reference in New Issue