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_conversion.f90
blob
65bc8cdaec91ddac9315b2b0a6628d2daa4804f8
1
! { dg-do compile }
2
!
3
! PR 78618: ICE in gfc_check_rank, at fortran/check.c:3670
4
!
5
! Contributed by Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de>
6
7
program
p
8
character
,
parameter
::
c
=
char
(
256
,
4
)
! { dg-error "cannot be converted" }
9
if
(
rank
(
c
) /=
0
)
STOP
1
10
end