repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.dg
/
argument_checking_6.f90
blob
3742ab6e1e985b0611d89941284f520c56b1ccde
1
! { dg-do compile }
2
! PR fortran/32669
3
!
4
! Contributed by Janus Weil <jaydub66@gmail.com>
5
!
6
program
tfe
7
implicit none
8
9
real
,
dimension
(-
1
:
1
) ::
w
10
real
,
dimension
(
1
:
4
) ::
x
11
real
,
dimension
(
0
:
3
) ::
y
12
real
,
dimension
(-
1
:
2
) ::
z
13
14
call
sub
(
x
(:))
15
call
sub
(
y
(:))
16
call
sub
(
z
(:))
17
call
sub
(
w
(:))
! { dg-error "too few elements" }
18
19
contains
20
subroutine
sub
(
a
)
21
implicit none
22
real
,
dimension
(
1
:
4
) ::
a
23
end subroutine
sub
24
end program
tfe