Commit 7746c5c3 by Paul Brook Committed by Paul Brook

* gfortran.dg/entry_2.f90: New test.

From-SVN: r86489
parent f8ad2d21
2004-08-24 Paul Brook <paul@codesourcery.com>
* gfortran.dg/entry_2.f90: New test.
2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
PR c++/16889
......
! { dg-do compile }
! Arguments to procedures with multiple entry points may be absent, however
! they are not optional, unless explicitly maked as such.
subroutine foo(i, a, b)
logical a(2, 2)
logical b(1)
! Check we don't get an "DIM must not be optional" error
a = any(b, i)
entry bar()
end subroutine
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment