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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
string_5.f90
blob
ef291566b527f5fd8f25721c64071c909f1a6308
1
! { dg-do compile }
2
program
test
3
4
! PR fortran/48876 - this used to segfault.
5
! Test case contributed by mhp77 (a) gmx.at.
6
character
::
string
=
"string"
( : -
1
)
7
8
! PR fortran/50409
9
character
v
(
3
)
10
v
= (/ (
'123'
(
i
:
1
),
i
=
3
,
1
, -
1
) /)
11
print
*,
v
12
13
end program
test
14