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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr105230.f90
blob
6c6b42ef9bfc17e06a27386515e802fe7e032c11
1
! { dg-do compile }
2
! PR fortran/105230 - ICE in find_array_section
3
! Contributed by G.Steinmetz
4
5
program
p
6
integer
,
parameter
::
a
(:) = [
1
,
2
]
! { dg-error "deferred shape" }
7
print
*,
reshape
([
3
,
4
],
a
(
1
:
2
))
8
end