re PR fortran/45525 (gfortran.dg/dummy_procedure_1.f90 failed)
2010-09-03 Daniel Kraft <d@domob.eu> PR fortran/45525 * gfortran.dg/dummy_procedure_1.f90: Add -std=f2003 and adapt error. From-SVN: r163840
This commit is contained in:
parent
bb79486c55
commit
0edf45a3f9
gcc/testsuite
@ -1,3 +1,8 @@
|
||||
2010-09-03 Daniel Kraft <d@domob.eu>
|
||||
|
||||
PR fortran/45525
|
||||
* gfortran.dg/dummy_procedure_1.f90: Add -std=f2003 and adapt error.
|
||||
|
||||
2010-09-03 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/45159
|
||||
|
@ -1,4 +1,5 @@
|
||||
! { dg-do compile }
|
||||
! { dg-options "-std=f2003" }
|
||||
! Test the patch for PR25098, where passing a variable as an
|
||||
! actual argument to a formal argument that is a procedure
|
||||
! went undiagnosed.
|
||||
@ -37,7 +38,7 @@ end module m1
|
||||
integer :: i, y, z
|
||||
i=1
|
||||
call s1(i) ! { dg-error "Expected a procedure for argument" }
|
||||
call s1(w) ! { dg-error "not allowed as an actual argument" }
|
||||
call s1(w) ! { dg-error "used as actual argument" }
|
||||
call s1(x) ! explicit interface
|
||||
call s1(y) ! declared external
|
||||
call s1(z) ! { dg-error "Expected a procedure for argument" }
|
||||
|
Loading…
Reference in New Issue
Block a user