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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
char_array_constructor.f90
blob
b3b375f79d971ebb51e41fa7dc15a1c887888c02
1
! { dg-do run }
2
module
z
3
integer
::
i
4
character
(
6
) ::
a
(
2
) = (/ (
'main '
,
i
=
1
,
2
) /)
5
character
(
6
) ::
b
(
2
) = (/
'abcd '
,
'efghij'
/)
6
end module
7
8
program
y
9
use
z
10
if
(
a
(
1
) /=
'main '
)
STOP
1
11
if
(
a
(
2
) /=
'main '
)
STOP
2
12
if
(
b
(
1
) /=
'abcd '
)
STOP
3
13
if
(
b
(
2
) /=
'efghij'
)
STOP
4
14
end program
y