URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [assumed_shape_nml.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do compile }! One of two tests for the fix of PR23152 - There used to be! no warning for assumed shape arrays in namelists.!! Conributed by Paul Thomas <pault@gcc.gnu.org>!program assumed_shape_nmlreal, dimension (10) :: zz = 42.0call foo (z)containssubroutine foo (y)real, DIMENSION (1:) :: ynamelist /mynml/ y ! { dg-warning "is an extension" }write (*, mynml)end subroutine fooend program assumed_shape_nml
