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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gfortran.fortran-torture
/
execute
/
string.f90
blob
f220f4a477bb59dfc3775d5a479cb2428d02cd25
1
! Program to test string handling
2
program
string
3
implicit none
4
character
(
len
=
5
) ::
a
,
b
5
character
(
len
=
20
) ::
c
6
7
a
=
'Hello'
8
b
=
'World'
9
c
=
a
//
b
10
11
if
(
c
.
ne
.
'HelloWorld'
)
call
abort
12
if
(
c
.
eq
.
'WorldHello'
)
call
abort
13
if
(
a
//
'World'
.
ne
.
'HelloWorld'
)
call
abort
14
if
(
a
.
ge
.
b
)
call
abort
15
end program