URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [char_associated_1.f90] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
! Check that associated works correctly for character arrays.
! { dg-do run }
program main
character (len = 5), dimension (:), pointer :: ptr
character (len = 5), dimension (2), target :: a = (/ 'abcde', 'fghij' /)
ptr => a
if (.not. associated (ptr, a)) call abort
end program main
Go to most recent revision | Compare with Previous | Blame | View Log