repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
data_char_2.f90
blob
3e021b165f796581cf78d70a77b834640e4df128
1
! { dg-do run }
2
! Test that getting a character from a
3
! string data works.
4
5
CHARACTER
*
10
INTSTR
6
CHARACTER
C1
7
DATA
INTSTR
/
'0123456789'
/
8
9
C1
=
INTSTR
(
1
:
1
)
10
if
(
C1
.
ne
.
'0'
)
call
abort
()
11
12
end