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
/
pr89084.f90
blob
3ac6b37999e1716ca438732c8f8c68573c35bc19
1
! PR fortran/89084
2
! { dg-do run }
3
4
integer function
foo
()
5
write
(*,*)
'foo'
6
block
7
integer
,
parameter
::
idxs
(
3
) = (/
1
,
2
,
3
/)
8
integer
::
i
9
foo
=
0
10
do
i
=
1
,
size
(
idxs
)
11
foo
=
foo
+
idxs
(
i
)
12
enddo
13
end
block
14
end function
foo
15
program
pr89084
16
integer
::
i
17
interface
18
integer function
foo
()
19
end function
20
end interface
21
i
=
foo
()
22
if
(
i
.
ne
.6
)
stop
1
23
end