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
/
pr104849.f90
blob
ae221b5ba1035caa78f924fb557e051ae2d6be52
1
! { dg-do compile }
2
! PR fortran/104849 - 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
integer
::
x
(
2
)
8
data
x
/
a
(:)/
! { dg-error "Invalid" }
9
end