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
c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr70070.f90
blob
04a6dd585ab19ad887e361c7a75d5328349bf9d9
1
! { dg-do compile }
2
! PR fortran/70070 - ICE on initializing character data beyond min/max bound
3
4
program
p
5
character
(
1
) ::
a
,
b
6
data
(
a
(
i
:
i
),
i
=
0
,
0
) /
1
*
'#'
/
! { dg-error "Substring start index" }
7
data
(
b
(
i
:
i
),
i
=
2
,
3
) /
2
*
'#'
/
! { dg-error "Substring end index" }
8
end