Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
data_char_2.f90
blob: 7d3f4852de598656c6ea793fd446b231c82e3b56 [
file
] [
log
] [
blame
]
!
{
dg
-
do
run
}
!
{
dg
-
options
"-std=legacy"
}
!
!
Test
that getting a character
from
a
!
string
data works
.
CHARACTER
*
10
INTSTR
CHARACTER C1
DATA INTSTR
/
'0123456789'
/
C1
=
INTSTR
(
1
:
1
)
if
(
C1
.
ne
.
'0'
)
STOP
1
end