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
2018-02-06 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
assumed_charlen_parameter.f90
blob
2653f1b127a95f2237735ff602a6432be3f0d6b7
1
! { dg-do compile }
2
! PR fortran/82049
3
! Original code contributed by John Harper <john dot harper at vuw dot ac dot nz>
4
program
ice
! f2003
5
implicit none
6
character
(*),
parameter
::
a
=
'ice'
,
b
=
'*'
7
character
(*),
parameter
::
c
(
2
) = [
character
(
len
(
a
)) ::
a
,
b
]
8
print
"(2A4)"
,
adjustr
(
c
)
9
end program
ice