OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-04-06 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
char_associated_1.f90
1
! Check that associated works correctly for character arrays.
2
! { dg-do run }
3
program main
4
character (len = 5), dimension (:), pointer :: ptr
5
character (len = 5), dimension (2), target :: a = (/ 'abcde', 'fghij' /)
6
ptr => a
7
if (.not. associated (ptr, a)) call abort
8
end program main