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
fix pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
zero_sized_6.f90
blob
30ed8dfaaf5c539fc23aa1e7877867309924df47
1
! { dg-do "compile" }
2
! PR38709 - ICE-on-invalid on zero-sized array in init-expr.
3
4
INTEGER
,
PARAMETER
::
a
(
1
) = (/
1
/)
5
INTEGER
,
PARAMETER
::
i
=
a
(
shape
(
1
))
! { dg-error "Incompatible ranks" }
6
END