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/] [generic_21.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR fortran/42858!! Contributed by Harald Anlauf!module gfcbug102implicit nonetype t_vector_segmreal ,pointer :: x(:) => NULL()end type t_vector_segmtype t_vectorinteger :: n_s = 0type (t_vector_segm) ,pointer :: s (:) => NULL()end type t_vectorinterface sqrtmodule procedure sqrt_vectorend interface sqrtcontainsfunction sqrt_vector (x) result (y)type (t_vector) :: ytype (t_vector) ,intent(in) :: xinteger :: ido i = 1, y% n_sy% s(i)% x = sqrt (x% s(i)% x)end doend function sqrt_vectorend module gfcbug102! { dg-final { cleanup-modules "gfcbug102" } }
