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
2006-03-22 Thomas Koenig <Thomas.Koenig@onlien.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
shape_1.f90
blob
aaf943f6294e365d98cad8cf18350c737f4c1a65
1
! { dg-do compile }
2
! PR 13201 we used to not give an error in those cases
3
subroutine
foo
(
n
)
4
integer
,
parameter
::
a
(
n
) =
1
! { dg-error "cannot be automatic" "automatic shape" }
5
integer
,
parameter
::
z
(:) = (/
1
,
2
,
3
/)
! { dg-error "cannot be automatic" "assumed shape" }
6
end subroutine