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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
zero_sized_6.f90
blob
f944fd91444309a3596763be0beac8e630bbf34f
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