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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
bounds_check_4.f90
blob
9ce2298f2397e3953be7d137d7e4445f9e055d00
1
subroutine
foo
(
n
,
x
)
2
implicit none
3
integer
,
intent
(
in
) ::
n
4
complex
(
8
),
intent
(
out
) ::
x
(
n
,*)
5
x
(
1
,
1
) =
0
.
d0
6
x
(
n
,
1
) =
0
.
d0
7
x
(:,
1
) =
0
.
d0
8
x
(
2
:,
1
) =
0
.
d0
9
x
(:
n
-
1
,
1
) =
0
.
d0
10
x
((/
1
,
n
/),
1
) =
0
.
d0
11
end subroutine
foo
12
13
program
test
14
implicit none
15
integer
,
parameter
::
n
=
17
16
complex
(
8
) ::
x
(
n
,
n
)
17
call
foo
(
n
,
x
)
18
end program
test