URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [automatic_default_init_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! { dg-options "-O" }! Test the fix for PR29394 in which automatic arrays did not! get default initialization.! Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>!MODULE M1TYPE T1INTEGER :: I=7END TYPE T1CONTAINSSUBROUTINE S1(I)INTEGER, INTENT(IN) :: ITYPE(T1) :: D(1:I)IF (any (D(:)%I.NE.7)) CALL ABORT()END SUBROUTINE S1END MODULE M1USE M1CALL S1(2)END! { dg-final { cleanup-modules "m1" } }
